docstr: Whether shift key pressed
  
  Returns
  -------
  bool
docstr_tok: ["Whether","shift","key","pressed","Returns","--","--","--","-","bool"]
code: def shift(self):
      """
      Whether shift key pressed
  
      Returns
      -------
      bool
      """
      return self._shift
  
imports: from plotly.utils import _list_repr_elided
label_desc: Use image node_id 5 for calling the InputDeviceState obj's underlying member method code with example usage: obj.shift() and returns: self