def check_domain_whitelist(string, whitelist):
    """ Returns True if a white listed domain appears in the string, otherwise returns False.

    :param string: A string possibly containing a domain name.
    :param whitelist: A list of strings containing white listed domains.
    :return: Bool
    """

    for i in whitelist:
        if i in string:
            return True
    return False