def is_blocked(self):
r = self.relationship<EOL>if r is None:<EOL><INDENT>return False<EOL><DEDENT>return r.type is RelationshipType.blocked<EOL>
:class:`bool`: Checks if the user is blocked.

        .. note::

            This only applies to non-bot accounts.