code: public static boolean isDartControllerActive() {
  		Map<String, Object> sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
  		if (sessionMap.containsKey(DART_CONTROLLER)) {
  			return "true".equals(sessionMap.get(DART_CONTROLLER));
  		}
  		return false;
  	}
docs: Are we to support AngularDart instead of AngularJS?
  @return true if AngularDart is used