def check_yara_file(self):

      # Ensure Yara rule file exists before proceeding
      if not os.path.isfile(self.yara_rule_path):
         self.dbg_h.error('%s Could not load Yara rule file. File %s, does not exist!' % (dt.now(), self.yara_rule_path))
         sys.exit(2)
dataset/ETHPy150Open EmersonElectricCo/fsf/fsf-server/scanner.py/Scanner.check_yara_file/original