Checks whether the given object has class attribute 'stvar'
check_stvar
checks that the object has class attribute 'stvar'.
check_stvar(object, object_name)
object
: S3 object to be testedobject_name
: what is the name of the object that should of class 'stvar'?Throws an error if the object doesn't have the class attribute 'stvar'.