def vb_machinestate_to_str(machinestate):
 return vb_machinestate_to_tuple(machinestate)[0]

def vb_machinestate_to_str ( machinestate ) : return vb_machinestate_to_tuple ( machinestate ) [ 0 ]
put a name to the state .