protected final function IsEntityAltered($Entity) { if ($Entity instanceof IProxy) { return $Entity->__IsAltered(); } else { return true; } }