The new code does the same as the old one but doesn't call the checkFlag in case ReadOnly is already set based on age.