code: private void notifyAfter(FacesContext context, PhaseId phaseId) {
          if (getAfterPhaseListener() != null || phaseListenerIterator != null) {
              notifyPhaseListeners(context, phaseId, false);
          }
      }
docs: null checks.