import re


def is_image_file(file_name):
    """
    Checks for ``.png``, ``.jpg``, ``.jgpeg``, ``.gif`` file extensions.

    Arguments:
        file_name (str): Image file name.

    Returns:
        bool: Returns ``True`` if the file name has image extension. ``False`` otherwise.
    """
    regex = re.compile(r"(.+)\.(png|jpg|jpeg|gif)$", re.IGNORECASE)
    result = regex.match(file_name)
    return True if result else False