Method's name should reflect what it does

isValidForGeneratedCode -> isInaccessibleViaGeneratedCode