public synchronized boolean isSectionDefined(String section){
  return sectionNames.containsKey(section);
}

public synchronized boolean isSectionDefined ( String section ) { return sectionNames . containsKey ( section ) ; }
determines if a section with the given name exists
