powered by
Check whether an object is of type tm (tree model)
is.tm(x)
an object to be tested
TRUE if an object has class "tm", FALSE otherwise