Index.
is_categorical
Return if the current index type is a categorical type.
Examples
>>> ps.DataFrame({'a': [1]}, index=[1]).index.is_categorical() False