def is_variable_name(test_str: str):
    """Is the test string a valid name for a variable or not?

    Arguments:
        test_str (str): Test string

    Returns:
        bool: Is str a variable name
    """
    return test_str.isidentifier()