docs: def list(self, *args, **kwargs):
          """
          List networks. Similar to the ``docker networks ls`` command.
  
          Args:
              names (:py:class:`list`): List of names to filter by.
              ids (:py:class:`list`): List of ids to filter by.
              filters (dict): Filters to be processed on the network list.
                  Available filters:
                  - ``driver=[<driver-name>]`` Matches a network's driver.
                  - ``label=[<key>]`` or ``label=[<key>=<value>]``.
                  - ``type=["custom"|"builtin"]`` Filters networks by type.
              greedy (bool): Fetch more details for each network individually.
                  You might want this to get the containers attached to them.
  
          Returns:
              (list of :py:class:`Network`) The networks on the server.
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.
          """
          greedy = kwargs.pop('greedy', False)
          resp = self.client.api.networks(*args, **kwargs)
          networks = [self.prepare_model(item) for item in resp]
          if greedy and version_gte(self.client.api._version, '1.28'):
              for net in networks:
                  net.reload()
          return networks