Can I check if Bootstrap Modal currently Shown / Hidden Programatically?
Like bool a = if("#myModal").shown(); ?
bool a = if("#myModal").shown();
I need true/false
alert($('#myModal').hasClass('in'));
It will return true if modal is open