code: def _is_somatic(rec):
      
      if _has_somatic_flag(rec):
          return True
      if _is_mutect2_somatic(rec):
          return True
      ss_flag = rec.INFO.get("SS")
      if ss_flag is not None:
          if str(ss_flag) == "2":
              return True
      status_flag = rec.INFO.get("STATUS")
      if status_flag is not None:
          if str(status_flag).lower() in ["somatic", "likelysomatic", "strongsomatic", "samplespecific"]:
              return True
      epr = rec.INFO.get("EPR", "").split(",")
      if epr and all([p == "pass" for p in epr]):
          return True
      return False
docs: Handle somatic classifications from MuTect, MuTect2, VarDict and VarScan