Whether the index type is compatible with the provided type.
pandas.Index.is_object
pandas.Index.isin