DataTable Columns: Check for Visibility?

I am trying to check for the visibility of any datatable column. The getColumnConfig() only tells the init state. I need to know if the column is currently visible.

https://docs.webix.com/api__ui.datatable_iscolumnvisible.html

Also, getState API provides this info as well
https://docs.webix.com/desktop__datastate_state.html#savingdatatablestate