code: def is_image_format(self):
          
          return self in frozenset([MimeType.TIFF, MimeType.TIFF_d8, MimeType.TIFF_d16, MimeType.TIFF_d32f, MimeType.PNG,
                                    MimeType.JP2, MimeType.JPG])
docs: Checks whether file format is an image format
  
          Example: ``MimeType.PNG.is_image_format()`` or ``MimeType.is_image_format(MimeType.PNG)``
  
          :param self: File format
          :type self: MimeType
          :return: ``True`` if file is in image format, ``False`` otherwise
          :rtype: bool