def tuple_or_list(target):
    """Check is a string object contains a tuple or list
    
    If a string likes '[a, b, c]' or '(a, b, c)', then return true,
    otherwise false.
    
    Arguments:
        target {str} -- target string
    
    Returns:
        bool -- result
    """

    # if the target is a tuple or list originally, then return directly
    if isinstance(target, tuple) or isinstance(target, list):
        return target

    try:
        target = eval(target)
        if isinstance(target, tuple) or isinstance(target, list):
            return target
    except:
        pass
    return None