public boolean isDirty(String key){
  return dirtyKeys.contains(key);
}

public boolean isDirty ( String key ) { return dirtyKeys . contains ( key ) ; }
checks if a specific key was changed and not yet saved to the database .
