from pathlib import Path


def is_raster_format (image_path: str) -> bool:
    """
    Is the file at the provided path a raster image?

    Parameters:
        image_path (str): Path to file.

    Returns:
        bool: Whether the file is a raster image.
    """
    RASTER_FORMATS = [".jpg", ".jpeg", ".tif", ".tiff"]
    format = Path(image_path).suffix.lower()
    return format in RASTER_FORMATS