check is a binary tree is binary seach tree