FIX helper to check multilabel types

Fixes [bugs](https://github.com/scikit-learn/scikit-learn/pull/1945/files#r4332200) related to simply checking type(..) equality and refactors.