Strict Binary Tree Check

A binary tree is strict when all nodes have either two or zero child nodes.
Write a method that checks if a binary tree is strict.
TreeNode API methods: node.left() and node.right().