Optimize isConfiguration()/isIgnoringConfig() interplay