public boolean hasExplicitField(String fieldName){
  if (fields.containsKey(fieldName)) {
    return true;
  }
  for (  DynamicField df : dynamicFields) {
    if (fieldName.equals(df.getRegex()))     return true;
  }
  return false;
}

public boolean hasExplicitField ( String fieldName ) { if ( fields . containsKey ( fieldName ) ) { return true ; } for ( DynamicField df : dynamicFields ) { if ( fieldName . equals ( df . getRegex ( ) ) ) return true ; } return false ; }
does the schema explicitly define the specified field , i . e . not as a result of a copyfield declaration ? we consider it explicitly defined if it matches a field name or a dynamicfield name .
