if (isset($Object->photo_id) && filter_var($Object->photo_id, FILTER_VALIDATE_INT) && $Object->photo_id > 0) {
            return true;
        }