code: public static boolean columnExist(CSTable table, String name) {
          for (int i = 1; i <= table.getColumnCount(); i++) {
              if (table.getColumnName(i).startsWith(name)) {
                  return true;
              }
          }
          return false;
      }
docs: Check if a column exist in table.
  
  @param table the table to check
  @param name the name of the column
  @return