code: def remove(self, force=False):
          
          return self.client.api.remove_node(self.id, force=force)
docs: Remove this node from the swarm.
  
          Args:
              force (bool): Force remove an active node. Default: `False`
  
          Returns:
              `True` if the request was successful.
  
          Raises:
              :py:class:`docker.errors.NotFound`
                  If the node doesn't exist in the swarm.
  
              :py:class:`docker.errors.APIError`
                  If the server returns an error.