code: function addContextUpdateListener(
      contextUpdatedFn
    ) {
      var id = _getRandomId();
      _onContextUpdatedFns[id] = contextUpdatedFn;
      if (luigiInitialized && isFunction(contextUpdatedFn)) {
        contextUpdatedFn(currentContext.context);
      }
      return id;
    }
docs: Registers a listener called with the context object upon any navigation change.
  @param {function} contextUpdatedFn the listener function called each time Luigi context changes
  @memberof lifecycle