presto-cassandra/src/main/java/io/prestosql/plugin/cassandra/CassandraPartitionResult.java/CassandraPartitionResult/isUnpartitioned
class CassandraPartitionResult:    public boolean isUnpartitioned()
    {
        return partitions.size() == 1 && getOnlyElement(partitions).isUnpartitioned();
    }