checkSpctVersion function

Check that the "spct.version" attribute is set