code: def to_dict(self):
          
          data = {}
  
          if self.created_at:
              data['created_at'] = self.created_at.strftime(
                  '%Y-%m-%dT%H:%M:%S%z')
          if self.image_id:
              data['image_id'] = self.image_id
          if self.permalink_url:
              data['permalink_url'] = self.permalink_url
          if self.thumb_url:
              data['thumb_url'] = self.thumb_url
          if self.type:
              data['type'] = self.type
          if self.url:
              data['url'] = self.url
  
          return data
docs: Return a dict representation of this instance