def is_for_ast_eval(test_str: str):
    """
    Is the test string a valid list of dict string,
    such as "[1, 2]", that can be evaluated by ast eval.

    Arguments:
        test_str (str): Test string

    Returns:
        bool: Is test_str a valid list of dict strings
    """
    return ('[' in test_str and ']' in test_str) or \
           ('{' in test_str and '}' in test_str)