code: private boolean isCql3Enabled(TableInfo tableInfo)
      {
          Properties cfProperties = getColumnFamilyProperties(tableInfo);
  
          String defaultValidationClass = cfProperties != null ? cfProperties
                  .getProperty(CassandraConstants.DEFAULT_VALIDATION_CLASS) : null;
  
          // For normal columns
          boolean isCounterColumnType = isCounterColumnType(tableInfo, defaultValidationClass);
          return containsCompositeKey(tableInfo)
                  || containsCollectionColumns(tableInfo)
                  || ((cql_version != null && cql_version.equals(CassandraConstants.CQL_VERSION_3_0)) && (containsEmbeddedColumns(tableInfo) || containsElementCollectionColumns(tableInfo)))
                  && !isCounterColumnType
                  || ((cql_version != null && cql_version.equals(CassandraConstants.CQL_VERSION_3_0)) && !tableInfo
                          .getType().equals(Type.SUPER_COLUMN_FAMILY.name()));
      }
docs: Checks if is cql3 enabled.
  
  @param tableInfo
  the table info
  @return true, if is cql3 enabled