def IsLvmEnabled(enabled_disk_templates):
  return len(constants.DTS_LVM & set(enabled_disk_templates)) != 0
Check whether or not any lvm-based disk templates are enabled.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/IsLvmEnabled