code: def FindDevice(self, address):
      '''Find a specific device by bluetooth address.
      '''
      for obj in mockobject.objects.keys():
          if obj.startswith('/org/bluez/') and 'dev_' in obj:
              o = mockobject.objects[obj]
              if o.props[DEVICE_IFACE]['Address'] \
                      == dbus.String(address, variant_level=1):
                  return obj
  
      raise dbus.exceptions.DBusException('No such device.',
                                          name='org.bluez.Error.NoSuchDevice'f FindDevice(self, address):
      '''Find a specific device by bluetooth address.
      '''
      for obj in mockobject.objects.keys():
          if obj.startswith('/org/bluez/') and 'dev_' in obj:
              o = mockobject.objects[obj]
              if o.props[DEVICE_IFACE]['Address'] \
                      == dbus.String(address, variant_level=1):
                  return obj
  
      raise dbus.exceptions.DBusException('No such device.',
                                          name='org.bluez.Error.NoSuchDevice')
docs: Find a specific device by bluetooth address.