def _is_arraylike(x):
    return (hasattr(x, '__len__') or
            hasattr(x, 'shape') or
            hasattr(x, '__array__'))
``True`` for errors of bulk validations.
dataset/ETHPy150Open trevorstephens/gplearn/gplearn/skutils/validation.py/_is_arraylike--crossover with--dataset/ETHPy150Open nicolaiarocci/cerberus/cerberus/errors.py/ValidationError.is_group_error