:class:`bool`: Checks if the user is blocked.

        .. note::

            This only applies to non-bot accounts.

def is_blocked(self):
        """:class:`bool`: Checks if the user is blocked.

        .. note::

            This only applies to non-bot accounts.
        """
        r = self.relationship
        if r is None:
            return False
        return r.type is RelationshipType.blocked