hasColumn
Whether this row has a column called columnName.
What getColumnIndex answers by raising. For a result whose shape is not fixed - a projection assembled at runtime, a RETURNING that differs by branch - asking is what the code means, and a try/catch around a lookup is not.
Return
true where a column carries that name.
Parameters
columnName
The name to look for.