If you have at least one entry in the table with a known ID, you could get it with $modx->getObject().
$object = $modx->getObject('modWhatever', $id);
If there's at least one entry but you don't know the ID, I think this will work to get the first one, but I'm not positive:
$object = $modx->getObject('modWhatever');
If not, you could use $modx->getCollection() with a limit of 1 (remember that the return value for getCollection() is an array of objects, even if there's only one).
Once you have the object, you can do this :
$fields = $object->toArray();
and then use in_array() to see if the field is already there before creating it.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html