How to check if object is initialized?

How to check if object is initialized?

Hey guys, I don't know if this is the correct forum to post this, however, I am using jqGrid and jqTree and the layout plugins.
In all cases I have no idea how to determine if the plugins have been initialized.

eg, Given the variable grid
var grid = $('#tblJqGridLast10');

how can I tell if it's options are set so I don't keep resetting them?
grid.jqGrid({ <options> });

I want to do something like the following
if (grid.jqGrid) { grid.trigger('reloadGrid'); return; }

I tried a to check to see if grid.jqGrid is undefined, it isn't.
I tried:
 ?grid.jqGrid().data('options')
 ?grid.jqGrid().datatype

The same holds true for jqTree and the layout plugins, any ideas?????