Pregunta de entrevista de Uber

Write a function to return if a tree is a binary tree given the root node.