I've also gone ahead and made the settings read-only and unsavable for when licenseIsValid() is set to "false".