ENH: Add 'is_' method to index.