Additionally I typically use np.issubdtype for these kind of tests, but I'm not sure if this is necessary for bool...