def should_execute(self, workload):
if not self._suspended.is_set():<EOL><INDENT>return True<EOL><DEDENT>workload = unwrap_workload(workload)<EOL>return hasattr(workload, '<STR_LIT>') and getattr(workload, '<STR_LIT>')<EOL>
If we have been suspended by i3bar, only execute those modules that set the keep_alive flag to a truthy
value. See the docs on the suspend_signal_handler method of the io module for more information.