But image is of the correct type, it just has an invalid dtype (which is a value set on an array).

`issubdtype` should be used to compare dtypes, but it's buggy for `bool`.