i_is_index function

Compatible with being an index?