CLN: internal array detection
so need to add some functions to replace lots of instance checking for compat in `core/common.py`

```
def is_array_like(arr):
    return isinstance(arr, np.ndarray)
```

analagously to `is_list_like` functions.

These will isolate code changes later.
