code: def has_logs(self):
          
          found_files = []
          if self.logpath is None:
              return found_files
          if os.path.exists(self.logpath):
              for root, _, files in os.walk(os.path.abspath(self.logpath)):
  
                  for fil in files:
                      found_files.append(os.path.join(root, fil))
          return found_files
docs: Check if log files are available and return file names if they exist.
  
          :return: list