<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def layers(self, rev=True):
 """ Get list of PodmanImage for every layer in image :param rev: get layers rev :return: list of :class:`conu.PodmanImage` """

        image_layers = [
            PodmanImage(None, identifier=x, pull_policy=PodmanImagePullPolicy.NEVER)
            for x in self.get_layer_ids()
        ]
        if not rev:
            image_layers.reverse()
        return image_layers