check_gsmar: Check that given object has class attribute 'gsmar'
Description
check_gsmar
checks that the given object has class attribute 'gsmar'.
Usage
check_gsmar(object, object_name = "gsmar")
Value
Doesn't return anything but throws and error if something is wrong.
Arguments
- object
an object to be tested
- object_name
the name of the tested object