code: def filter(self, containers=True, images=True, stopped=True, cached=False, sort_by_created=True):
          
          content = []
          containers_o = None
          images_o = None
          # return containers when containers=False and running=True
          if containers or not stopped:
              containers_o = self.get_containers(cached=cached, stopped=stopped)
              content += containers_o.response
          if images:
              images_o = self.get_images(cached=cached)
              content += images_o.response
          if sort_by_created:
              content.sort(key=attrgetter("natural_sort_value"), reverse=True)
          return content, containers_o, images_o
docs: since django is so awesome, let's use their ORM API
  
          :return: