So I am working on something that wasn\'t well thought out in the build from the backend team. That leaves me with a document full of divs.
What I am doing is rolling b
you are looking for http://api.jquery.com/hasClass/
$('#mydiv').hasClass('foo') //returns ture