code: def ensureKeysAreSetup(self):
          
          if not areKeysSetup(self.name, self.keys_dir):
              raise REx(REx.reason.format(self.name) + self.keygenScript)
docs: Check whether the keys are setup in the local STP keep.
          Raises KeysNotFoundException if not found.