import re


def is_literature(paragraph: str) -> bool:
    """
    Check if a paragraph is a literature entry.

    Parameters
    ----------
    paragraph : str

    Returns
    -------
    is_literature : bool
    """
    doi_regex = re.compile(r"""(10[.][0-9]{4,}(?:[.][0-9]+)*/(?:(?!["&\'<>])\S)+)""")
    issn_regex = re.compile(r"""ISSN \d+""", re.IGNORECASE)
    vol_regex = re.compile(r"""vol\. [IVCXL\d]+""", re.IGNORECASE)
    return (
        "ISBN" in paragraph
        or bool(doi_regex.search(paragraph))
        or bool(issn_regex.search(paragraph))
        or bool(vol_regex.search(paragraph))
        or "https://" in paragraph
        or "http://" in paragraph
    )