code: def images(self, name=None, quiet=False, all=False, filters=None):
          
          params = {
              'filter': name,
              'only_ids': 1 if quiet else 0,
              'all': 1 if all else 0,
          }
          if filters:
              params['filters'] = utils.convert_filters(filters)
          res = self._result(self._get(self._url("/images/json"), params=params),
                             True)
          if quiet:
              return [x['Id'] for x in res]
          return res
docs: List images. Similar to the ``docker images`` command.
  
          Args:
              name (str): Only show images belonging to the repository ``name``
              quiet (bool): Only return numeric IDs as a list.
              all (bool): Show intermediate image layers. By default, these are
                  filtered out.
              filters (dict): Filters to be processed on the image list.
                  Available filters:
                  - ``dangling`` (bool)
                  - ``label`` (str): format either ``key`` or ``key=value``
  
          Returns:
              (dict or list): A list if ``quiet=True``, otherwise a dict.
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.