code: def revoke(self, role):
          
          if role in self.roles:
              self.roles.remove(role)
docs: Remove a role from the entity.
  
          :type role: str
          :param role: The role to remove from the entity.