def is_restart_command(command_text: str) ->bool:
    """
    >>> is_restart_command("restart")
    True
    >>> is_restart_command("restart game")
    True
    >>> is_restart_command("take lamp")
    False
    """
    return command_text.startswith('restart')
