code: private void verifyApplication() {
          String ss = m_appDef.getStorageService();
          if (Utils.isEmpty(ss) || !ss.startsWith("Spider")) {
              throw new RuntimeException("Application '" + m_appDef.getAppName() +
                                         "' is not an Spider application");
          }
      }
docs: Throw if this session's AppDef is not for a Spider app.