def _VerifyRestrictedCmdName(cmd):
  if not cmd.strip():
    return (False, "Missing command name")

  if os.path.basename(cmd) != cmd:
    return (False, "Invalid command name")

  if not constants.EXT_PLUGIN_MASK.match(cmd):
    return (False, "Command name contains forbidden characters")

  return (True, None)
Lift the window to the top. Useful when saving screen to an
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_VerifyRestrictedCmdName--crossover with--dataset/ETHPy150Open enthought/mayavi/tvtk/pyface/ui/qt4/scene.py/Scene._lift