public boolean existsSetting(String key){
  return values.containsKey(key);
}

public boolean existsSetting ( String key ) { return values . containsKey ( key ) ; }
checks whether a value is stored for a given key .
