def is_image(file_path):
    """
    Checks if the specified file is an image
    :param file_path: Path to the candidate file
    :return: Whether or not the file is an image
    """
    return any(file_path.endswith(extension) for extension in [".png", ".jpg", ".jpeg"])