Return True if given object is boolean.
pandas.api.types.is_iterator
pandas.api.types.is_categorical