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 branch 'bugfix/7292_fix_load_lots_files_peaks' into develop