def METHOD_NAME(stateVar):
    avlist = []
    if 'allowedValueList' in stateVar:
        if isinstance(stateVar['allowedValueList']['allowedValue'], list):    # list if >1 allowed value
            for item in stateVar['allowedValueList']['allowedValue']:
                avlist.append( item )
        else:
            avlist = [stateVar['allowedValueList']['allowedValue']]
    return avlist