This method of the Document class retrieves the status of the loadExternal field.
public boolean loadExternal();
Returns whether to load external DTDs or entities.