This is how I have my "ul" written. As you can see there are two classes written in for the ul
<ul class="nav-second-level collapse">
</ul>
Now there may be another addition of a class to the same div like below
<ul class="nav-second-level collapse in">
</ul>
I need to check whether the class "in" is present in the "ul". How can I do that using jquery/javascript?