redefine and proof: isBst