Simple support for ArrayAdapter equality

Allows the concrete instance to return either a simple boolean or an array of type boolean - the latter is what numpy.ndarray will do.