code: def layers(self, rev=True):
          
          image_layers = [
              DockerImage(None, identifier=x, pull_policy=DockerImagePullPolicy.NEVER)
              for x in self.get_layer_ids()
          ]
          if not rev:
              image_layers.reverse()
          return image_layers
docs: Get list of DockerImage for every layer in image
  
          :param rev: get layers rev
          :return: list of DockerImages