Fix workspace type checks in LoadLotsOFiles. Refs #7292

It now checks whether a method exists on an object first before trying
to use it.
Merge remote-tracking branch 'origin/bugfix/7292_fix_load_lots_files_peaks'