Add has_default() method for columns.