Function Answer.columnExists

Returns true if the column exists, false if not

bool columnExists (
  string columnName
) immutable;