code: protected ActionResponse processHookBefore(ActionHook hook) {
          if (hook == null) {
              return ActionResponse.undefined();
          }
          showBefore(runtime);
          ActionResponse response = hook.godHandPrologue(runtime);
          if (isUndefined(response)) {
              response = hook.hookBefore(runtime);
          }
          if (isDefined(response)) {
              runtime.manageActionResponse(response);
          }
          redCardableAssist.assertAfterTxCommitHookNotSpecified("before", response);
          return response;
      }
docs: ------