made Index#index boolean