```$('.dropdown-menu').is(':visible')``` is better