code: private boolean isIndexPresent(ColumnInfo columnInfo, ColumnDef columnDef, boolean isCql3Enabled,
              boolean isCounterColumnType) throws Exception
      {
          return (isValidationClassSame(columnInfo, columnDef, isCql3Enabled, isCounterColumnType) && (columnDef
                  .isSetIndex_type() == columnInfo.isIndexable() || (columnDef.isSetIndex_type())));
      }
docs: isInedexesPresent method return whether indexes present or not on
  particular column.
  
  @param columnInfo
  the column info
  @param columnDef
  the column def
  @param isCql3Enabled
  the is cql3 enabled
  @param isCounterColumnType
  the is counter column type
  @return true, if is indexes present
  @throws Exception
  the exception