def METHOD_NAME(value, default_label):
    if not isinstance(value, ParametrizationValue):
        value = ParametrizationValue(label=default_label, value=value)
    if value.value is NOTHING:
        raise mark_exception_frame_correction(
            RuntimeError('Parameter {} has no value defined!'.format(value.label)),
            +4)
    return value