check if is BinTree instance