def is_ascii(text):
    """
    Test that the provided string contains only characters from the ASCII set.
    """
    try:
        text.decode("ascii")
        return True
    except UnicodeDecodeError:
        return False