Querying column_dimensions can have unexpected behaviour
*Created originally on Bitbucket by [steven somersbury (Liam Sanders)](https://bitbucket.org/%7B026e1b96-49c2-4f9b-96ab-4e2200c83817%7D/)*
This could entirely be user error, but I wanted to check if a column has a custom width set, and if it does perform some action on it. See attached script.
What happens though is if the column does not have a custom width, then by querying column_dimensions["E"].customWidth, it correctly returns False but a column_dimension is created with all None/empty values which results in the final sheet having that column basically hidden.
I worked around it by checking if my column exists in column_dimensions.keys() but that seemed sort of counter intuitive.
I think it would be better if there was some way of querying if custom column/row attributes had been set that doesn't create an empty one in the process.
*Attachments:* [example.xlsx](/uploads/a2616f97e0b10de2cc5088f9dc960105/example.xlsx)[openpy.py](/uploads/f28273fb45b529280773defec52d3529/openpy.py)[result.xlsx](/uploads/3ea46bc64c042e0e35db8f7f81051f9c/result.xlsx)
issue