public boolean isPartitionTag(String field){
  if (partitions == null || (!isTag(field))) {
    return false;
  }
  for (  String partition : partitions) {
    if (partition.equals(field)) {
      return true;
    }
  }
  return false;
}

public boolean isPartitionTag ( String field ) { if ( partitions == null || ( ! isTag ( field ) ) ) { return false ; } for ( String partition : partitions ) { if ( partition . equals ( field ) ) { return true ; } } return false ; }
check if the specified field is a partition tag field
