def _uuid_find(context, host, name_label):
 for i in objects.InstanceList.get_by_host(context, host):
  if (i.name == name_label):
   return i.uuid
 return None

def _uuid_find ( context , host , name_label ) : for i in objects . InstanceList . get_by_host ( context , host ) : if ( i . name == name_label ) : return i . uuid return None
return instance uuid by name_label .