code: def get_modifiers(evt_modifiers):
      NoModifier = QtCore.Qt.KeyboardModifier.NoModifier
      mods = NoModifier
      for x in evt_modifiers:
          mods |= KMLUT.get(x, NoModifier)
      return mods
  
imports: import jupyter_rfb
  import numpy
  from ..None import functions
  from ..None import graphicsItems, widgets
  from ..Qt import QtCore, QtGui
label_desc: Use image node_id 2 for calling a global function with example usage: get_modifiers(evt_modifiers) and returns: mods