<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_image(self):

 """
 Gets first image from post set.
 """

        posts_with_images = self.post_set.filter(image__gt='')
        if posts_with_images:
            return posts_with_images[0].image