code: def tap_keys(self, keys, duration=0.05, **kwargs):
      if (
          "force" in kwargs and kwargs["force"] is True
      ) or self.game_is_focused:
          for key in keys:
              self.press_key(key, **kwargs)
  
          time.sleep(duration)
  
          for key in keys:
              self.release_key(key, **kwargs)
  
imports: from serpent.input_controller import InputController, MouseButton, KeyboardKey
  from serpent.sprite_locator import SpriteLocator
  import pyautogui
  import time
label_desc: Use image node_id 3 for calling the PyAutoGUIInputController obj's underlying member method code with example usage: obj.tap_keys(keys, duration) without return types