tree:

isAsyncTree(obj)

Returns true if the indicated object supports the AsyncTree interface.