def IsSharedFileStorageEnabled(enabled_disk_templates):
  return IsDiskTemplateEnabled(constants.DT_SHARED_FILE, enabled_disk_templates)
Same as os.path.isfile() but does not swallow EACCES / EPERM
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/IsSharedFileStorageEnabled--crossover with--dataset/ETHPy150Open packages/psutil/psutil/_common.py/isfile_strict