public static function check_is_updated(\Orm\Model $obj, $check_properties = array(), $ignore_properties = array()) { if (empty($check_properties) && empty($ignore_properties)) { return true; } if (\Util_Orm::check_properties_updated($obj, $check_properties)) { return true; } if (\Util_Orm::check_properties_updated_without_ignores($obj, $ignore_properties)) { return true; } return false; }