code: public static boolean isInProcessDatabaseType(String url) {
  
          if (url == S_FILE || url == S_RES || url == S_MEM) {
              return true;
          }
  
          return false;
      }
docs: Returns true if type represents an in-process connection to database.