Checking whether a class is defined in CSS
Most of modern JS frameworks allow to check, whether an element has a particular class. However, I could not find something in jQuery related to checking, whether ther's a particular class in CSS. So, after googling for a while, I found the function which does this extremely well. I'm republishing it to save your time:
This function accepts an name of class or id(sure, without . or # ). In case it founds something, it returns the citation from CSS. Try it yourself!

