@staticmethod
def check_permissions(view, view_args, view_kwargs, *args, **kwargs):
    """The function use to check permissions

        :param callable view: the view
        :param list view_args: view args
        :param dict view_kwargs: view kwargs
        :param list args: decorator args
        :param dict kwargs: decorator kwargs
        """
    raise NotImplementedError
