code: def find_machine(self, name_or_id):
          
          if not isinstance(name_or_id, basestring):
              raise TypeError("name_or_id can only be an instance of type basestring")
          machine = self._call("findMachine",
                       in_p=[name_or_id])
          machine = IMachine(machine)
          return machine
docs: Attempts to find a virtual machine given its name or UUID.
          
          Inaccessible machines cannot be found by name, only by UUID, because their name
          cannot safely be determined.
  
          in name_or_id of type str
              What to search for. This can either be the UUID or the name of a virtual machine.
  
          return machine of type :class:`IMachine`
              Machine object, if found.
  
          raises :class:`VBoxErrorObjectNotFound`
              Could not find registered machine matching @a nameOrId.