Hide column when a condition is met

I have a table with too many columns, I used the eye icon to hide the columns that I want to always hide, but there is one column that I want to hide conditionally, is there a way to do that other than using "Use dynamic column settings"? I don't want to use this option because I have too many columns and I don't want to write the object for it.

Yep! As you edit the column settings there should be a "Show column" setting that you can set dynamically: