'Validates the provided value based on cfgtype and returns the
type-cast value
throws the underlying configobj exception if it fails'

def _validate_val(self, val):

    return self._validator.check(self.cfgtype, val)
