@staticmethod
def is_image(value):
    """
        Tries to check if the filename provided references to an image

        Checking is based on filename extension. Currently recognized:
           gif, png, jp(e)g, bmp

        Args:
            value: filename
        """
    extension = value.split('.')[-1].lower()
    if extension in ['gif', 'png', 'jpg', 'jpeg', 'bmp']:
        return True
    return False
