Cisco Interview Question

write some code to identify that a binary tree is a binary tree and not something else