Test if Jquery is loaded

Test if Jquery is loaded

I am building an app for a CMS that sometimes loads Jquery already.  Is there anyway to test if I should load mine if it isn't loaded?

I am using smarty templates for my app if that makes any difference.  Sorry, sorta a noob about this.