<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list(self, **kwargs):
 """ List volumes. Similar to the ``docker volume ls`` command. Args: filters (dict):
 Server-side list filtering options. Returns: (list of :py:class:`Volume`):
 The volumes. Raises: :py:class:`docker.errors.APIError` If the server returns an error. """

        resp = self.client.api.volumes(**kwargs)
        if not resp.get('Volumes'):
            return []
        return [self.prepare_model(obj) for obj in resp['Volumes']]