code: private boolean isMetadataSame(ColumnDef columnDef, ColumnInfo columnInfo, boolean isCql3Enabled,
              boolean isCounterColumnType) throws Exception
      {
          return isIndexPresent(columnInfo, columnDef, isCql3Enabled, isCounterColumnType);
      }
docs: is metadata same method returns true if ColumnDef and columnInfo have
  same metadata.
  
  @param columnDef
  the column def
  @param columnInfo
  the column info
  @param isCql3Enabled
  the is cql3 enabled
  @param isCounterColumnType
  the is counter column type
  @return true, if is metadata same
  @throws Exception
  the exception