This check_key can be moved to a class constants.  Yes, I know HACKING says not to use constants, but that's advice from the old loader.  Class constants are safe and this is definitely constant.