def _is_match_as_iterable(var, targ):
    """
    list, tuple とマッチ. dict, generatorは無視
    """
    if not (isinstance(var, (tuple, list)) or isinstance(targ, (tuple, list))):
        return False
    return tuple(var) == tuple(targ)
