<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def image_by_id(self, id):
 """ Return image with given Id """

        if not id:
            return None
        return next((image for image in self.images() if image['Id'] == id),
                    None)