This function looks like it has some side effects. Could you incorporate those into the name somehow? I'd expect "isEnabled_" to be a simple getter.