def IsDiskTemplateEnabled(disk_template, enabled_disk_templates):
  return disk_template in enabled_disk_templates
Checks if a particular disk template is enabled.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/IsDiskTemplateEnabled