def IsDiskTemplateEnabled(disk_template, enabled_disk_templates):
  return disk_template in enabled_disk_templates
Initializes the path specification object.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/IsDiskTemplateEnabled--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/path/raw_path_spec.py/RawPathSpec.__init__