sts_isValid function

Test sts object for correct structure