private static boolean isIceFacesPanel(ActivityInstance ai) {
    String panelUrl = SpiUtils.DEFAULT_JSF_ACTIVITY_CONTROLLER.providePanelUri(ai);

    return !isEmpty(panelUrl) && (panelUrl.endsWith(".iface") || panelUrl.contains(".iface?"));
  }
 public String providePanelUri(ActivityInstance ai) {
   // delegate to default controller
   return SpiUtils.DEFAULT_JSF_ACTIVITY_CONTROLLER.providePanelUri(ai);
 }