Checks if the input is a phylogeny
See also
Use check_phylogeny to check for a phylogeny
Examples
check_empty_beautier_folder()
# TRUE
phylogeny <- ape::read.tree(text = "(a:15,b:15):1;")
is_phylo(phylogeny)
#> [1] TRUE
# FALSE
is_phylo("nonsense")
#> [1] FALSE
is_phylo(NA)
#> [1] FALSE
is_phylo(NULL)
#> [1] FALSE
check_empty_beautier_folder()