def is_absolute_url(path_or_url: str):
    """
    Checks if the provided string is a path or an absolute URL (prefixed by
    'http' or 'https').

    Parameters
    ----------
    path_or_url
        The path or URL to check.

    Returns
    -------
    bool
        True if the provided string is an absolute URL, False otherwise.
    """
    return path_or_url.startswith('http')