'Get the parameter value, optionally sanitising it for output.'

def value(self):

    if (self.user_value is not None):
        return self.user_value
    if self.has_default():
        return self.default()
    raise exception.UserParameterMissing(key=self.name)
