def has_permission(self, user):
        """
        Returns True if the given request has permission to use the tool.
        Can be overriden by the user in subclasses.
        """
        return user.has_perm(
            self.model._meta.app_label + '.' + self.get_permission()
        )
def has_permission ( self , user ) : return user . has_perm ( self . model . _meta . app_label + '.' + self . get_permission ( ) )
Returns True if the given request has permission to use the tool.
        Can be overriden by the user in subclasses.