import re


def is_update_phrase(comment: str, phrases: list):
    """
    Identify comments matchign any "no update" phrases.

    Parameters
    ----------
    comment : str
        Comment string.
    phrases : list
        List of known "no update" phrases.

    Returns
    -------
    type
        True (is a "no update" phrase) or False (is not a "no update" phrase).

    """

    if comment is None:

        return(False)

    res = [bool(re.search(phrase, comment)) for phrase in phrases]

    if sum(res) > 0:

        return(True)

    else:

        return(False)