docs: def _is_program_selected(progs):
      """Determine if the program is enabled in the settings."""
      mode = False
      for prog in progs:
          if getattr(Settings, prog.__name__):
              mode = True
              break
      return mode