presto-main/src/main/java/io/prestosql/sql/planner/Partitioning.java/Partitioning/isConstant
class Partitioning:        public boolean isConstant()
        {
            return constant != null;
        }