Move IsNode out from BinComparisonNode.