checkBayesianSetup function

Checks if an object is of class 'BayesianSetup'