I don't have a strong opinion here, but I am not a fan of local variables that are used only once, unless the variable name can be used as a descriptive note. You might probably rename the variable with a more verbose name, like `isMethodMarkedAsProtected` or something like this, if you would like to keep the local variable.