@staticmethod
def validate(data):
    """
        Validates `data` for use in this container
        """
    return hasattr(data, '__iter__') or hasattr(data, '__len__') and hasattr(
        data, '__getitem__')
