def has_object_permission(
        self, request: HttpRequest, controller: "ControllerBase", obj: t.Any
    ) -> bool:
        """
        Return `True` if permission is granted, `False` otherwise.
        """
        res = execute_coroutine(
            self.has_object_permission_async(request, controller, obj)
        )
        return t.cast(bool, res)

        Return `True` if permission is granted, `False` otherwise.
        
ninja_extra/permissions/base.py