private boolean isValid() {
    for (PartitionSpecProxy partitionSpecProxy : partitionSpecProxies) {
      if (partitionSpecProxy instanceof CompositePartitionSpecProxy) {
        return false;
      }
    }

    return true;
  }
Implementation of PartitionSpecProxy that composes a list of PartitionSpecProxy.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/partition/spec/CompositePartitionSpecProxy.java