Use percentileNode.isConstant() instead