register hook if not registered

if (!$this->isRegisteredInHook('someHook'))
      $this->registerHook('someHook');