code: def _is_targeted_region(cur_bed, data):
      
      cores = dd.get_num_cores(data)
      if cores > 0:  # Apply to all core setups now for consistency
          return dd.get_coverage_interval(data) not in ["genome"]
      else:
          return coverage_interval_from_bed(cur_bed, per_chrom=False) == "targeted"
docs: Calculate if we should process region as a targeted or WGS.
  
      Currently always based on total coverage interval, as that validates best and
      is consistent between CWL (larger blocks) and non-CWL runs (smaller blocks).
      We can check core usage and provide a consistent report when moving to CWL
      exclusively.