code: def is_blocked(self):
          
          r = self.relationship
          if r is None:
              return False
          return r.type is RelationshipType.blocked
docs: :class:`bool`: Checks if the user is blocked.
  
          .. note::
  
              This only applies to non-bot accounts.