Returns True if val contains only '/' characters

def is_unknown(val: str) -> bool:
    """
    Returns True if val contains only '/' characters
    """
    for char in ('/', 'X'):
        if val == char * len(val):
            return True
    return False