code: def _supported_baremetal_transaction(self, context):
          
  
          port = context.current
  
          if self.trunk.is_trunk_subport_baremetal(port):
              return self._baremetal_set_binding(context)
  
          if not nexus_help.is_baremetal(port):
              return False
  
          if bc.portbindings.PROFILE not in port:
              return False
  
          profile = port[bc.portbindings.PROFILE]
  
          if 'local_link_information' not in profile:
              return False
  
          all_link_info = profile['local_link_information']
  
          selected = False
          for link_info in all_link_info:
  
              if 'port_id' not in link_info:
                  return False
  
              switch_info = self._get_baremetal_switch_info(
                                link_info)
              if 'switch_ip' in switch_info:
                  switch_ip = switch_info['switch_ip']
              else:
                  return False
  
              if self._switch_defined(switch_ip):
                  selected = True
              else:
                  LOG.warning("Skip switch %s.  Not configured "
                              "in ini file" % switch_ip)
  
          if not selected:
              return False
  
          selected = self._baremetal_set_binding(context, all_link_info)
          if selected:
              self._init_baremetal_trunk_interfaces(
                  context.current, context.top_bound_segment)
  
              if self.trunk.is_trunk_parentport(port):
                  self.trunk.update_subports(port)
  
          return selected
docs: Verify transaction is complete and for us.