Extract to a method with explanatory name (e.g. shouldUseIndex())