protected boolean isMetadataColumn(String columnName, List<String> columnList) {
    boolean isColumnCheckEnabled =
        Boolean.valueOf(this.workUnitState.getProp(ConfigurationKeys.SOURCE_QUERYBASED_IS_METADATA_COLUMN_CHECK_ENABLED,
            ConfigurationKeys.DEFAULT_SOURCE_QUERYBASED_IS_METADATA_COLUMN_CHECK_ENABLED));

    if (!isColumnCheckEnabled) {
      return true;
    }

    columnName = columnName.trim().toLowerCase();
    if (columnList.contains(columnName)) {
      return true;
    }
    return false;
  }
protected boolean isMetadataColumn ( String columnName , List < String > columnList ) { boolean isColumnCheckEnabled = Boolean . valueOf ( this . workUnitState . getProp ( ConfigurationKeys . SOURCE_QUERYBASED_IS_METADATA_COLUMN_CHECK_ENABLED , ConfigurationKeys . DEFAULT_SOURCE_QUERYBASED_IS_METADATA_COLUMN_CHECK_ENABLED ) ) ; if ( ! isColumnCheckEnabled ) { return true ; } columnName = columnName . trim ( ) . toLowerCase ( ) ; if ( columnList . contains ( columnName ) ) { return true ; } return false ; }
@param columnName name to search for
@param columnList list of metadata columns
@return true if column is part of metadata columns. otherwise, return false.