Amazon Interview Question

write a function to determine if a binary tree is an actual BST