presto-main/src/main/java/io/prestosql/sql/planner/Partitioning.java/Partitioning/isEffectivelySinglePartition
class Partitioning:    public boolean isEffectivelySinglePartition(Set<Symbol> knownConstants)
    {
        return isPartitionedOn(ImmutableSet.of(), knownConstants);
    }