def METHOD_NAME(self, obj):
    deposit_pid = obj.get("metadata", {}).get("_deposit", {}).get("id")
    resolver = Resolver(pid_type='depid',
                        object_type='rec',
                        getter=lambda x: x)
    _, rec_uuid = resolver.resolve(deposit_pid)
    deposit = CAPDeposit.get_record(rec_uuid)
    return (deposit.schema_is_reviewable() and
            ReviewDepositPermission(deposit).can())