def TStorageType(val):
  return (val in constants.STORAGE_TYPES)
Expand home shortcuts (e.g., ``~/foo/bar`` or ``~john/foo/bar``)
dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/TStorageType--crossover with--dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/machines/local.py/LocalEnv.expanduser