test whether input object is produced by ggtree function
is.ggtree(x)
x
object
TRUE or FALSE
Guangchuang Yu