is_npy_npz

glue.core.data_factories.is_npy_npz(filename)

The first bytes are x93NUMPY (for npy) or PKx03x04 (for npz) see: https://github.com/numpy/numpy/blob/master/doc/neps/npy-format.rst