sts_check function

Check sts object for validity