You can put code in
$(document).ready(function() {
// Handler for .ready() called.
});
Here are the Docs: http://api.jquery.com/ready/
Edit:
Guess i got the Question wrong.
So i cant answer how to see it its loaded, but can provide another approach to load the lib.
Here, a local version of jQuery gets loaded, if the google api is not available. Than the snipped above should be secure enough know that jQuery is loaded.