def validate(self):
        spec_util.check_uuid(self.uuid)
        spec_util.check_name(self.name)
        precondition(isinstance(self.owner_id, basestring), 'Invalid value: owner_id.')
        precondition(isinstance(self.user_defined, bool), 'Invalid value: user_defined.')
Check a number of basic conditions that would indicate serious errors if
dataset/ETHPy150Open codalab/codalab-cli/codalab/objects/permission.py/Group.validate