public boolean isDirty(){
  return !dirtyKeys.isEmpty();
}

public boolean isDirty ( ) { return ! dirtyKeys . isEmpty ( ) ; }
checks if the object has data that has not yet been saved to the database .
