def _CheckLvmStorageParams(params):
  _CheckStorageParams(params, 1)
  excl_stor = params[0]
  if not isinstance(params[0], bool):
    raise errors.ProgrammerError("Exclusive storage parameter is not"
                                 " boolean: '%s'." % excl_stor)
  return excl_stor
Performs sanity check for the 'exclusive storage' flag.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_CheckLvmStorageParams