code: public static boolean isODataEntityCollectionType(Class<?> type,
              Type genericType) {
          if (ListResult.class != type) {
              return false;
          }
  
          ParameterizedType pt = (ParameterizedType) genericType;
  
          if (pt.getActualTypeArguments().length != 1) {
              return false;
          }
  
          Class<?> typeClass = getCollectedType(genericType);
  
          return isODataEntityType(typeClass);
      }
docs: Is the given type a collection of ODataEntity
  
  @param type
  Base type
  @param genericType
  Generic type
  @return true if it's List&lt;OEntity> or derive from.