Pergunta de entrevista da empresa Cisco

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