def contains_symbol(text: str, symbols: str) ->bool:
    """If text contains a symbol in symbols, return True."""
    for character in text:
        if character in symbols:
            return True
    return False
