from six import string_types


def isarray(value):
    """Is the value a container, like tuple, list or numpy array?"""
    if isinstance(value,string_types): return False
    if hasattr(value,"__len__"): return True
    else: return False