code: boolean isQueryBean(String owner) {
  
      int subPackagePos = owner.lastIndexOf("/query/");
      if (subPackagePos > -1) {
        String suffix = owner.substring(subPackagePos);
        if (isQueryBeanSuffix(suffix)) {
          String domainPackage = owner.substring(0, subPackagePos + 1);
          return isQueryBeanPackage(domainPackage);
        }
      }
      return false;
    }
docs: Return true if this class is a query bean using naming conventions for query beans.