'Returns a boolean indicating whether the attached file is an image of a
format recognizable by the stdlib imghdr module.'

def is_image(self):

    try:
        return (imghdr.what(self.full_path()) is not None)
    except IOError:
        if (not settings.DEBUG):
            raise
