code: def viewStateChanged(self):
      self.valid = False
      if (
          self.ctrl[0].minText.isVisible()
          or self.ctrl[1].minText.isVisible()
      ):
          self.updateState()
  
imports: from ...Qt import QtCore, QtGui, QtWidgets
  from ...WidgetGroup import WidgetGroup
  from .None import axisCtrlTemplate_generic
  import weakref
  from .ViewBox import ViewBox
label_desc: Use image node_id 2 for calling the ViewBoxMenu obj's underlying member method code with example usage: obj.viewStateChanged() without return types