I'd one-line this: 

    exists = (column.column.name == public_id)