code: def checkdebug(self):
          
          # Global debugging
          opt = self.file_grep(r"^(DEFAULT_LOGGING|DAEMONOPTIONS)=(.*)",
                               *self.files)
          for opt1 in opt:
              for opt2 in opt1.split(" "):
                  if opt2 in ("--debug", "debug"):
                      return True
          return False
docs: testing if autofs debug has been enabled anywhere