@property
    def must_collect_input(self):
        if self.motion and self.action:
            if self.motion.accept_input:
                return True

            return (self.action.accept_input and
                    self.action.input_parser.type == input_types.AFTER_MOTION)

        # Special case: `q` should stop the macro recorder if it's running and
        # not request further input from the user.
        if (isinstance(self.action, cmd_defs.ViToggleMacroRecorder) and
            self.is_recording):
                return False

        if (self.action and
            self.action.accept_input and
            self.action.input_parser.type == input_types.INMEDIATE):
                return True

        if self.motion:
            return (self.motion and self.motion.accept_input)
Return iokit_devicetree information from osquery
dataset/ETHPy150Open guillermooo/Vintageous/state.py/State.must_collect_input--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/osquery.py/iokit_devicetree