def METHOD_NAME(
    tui: PopenSpawn, name: str, expected_type: str, help: OptStr = None
) -> None:
    """Check that we get a prompt in the standard form"""
    if help:
        tui.expect_exact(help)
    else:
        tui.expect_exact(name)
        if expected_type != "str":
            tui.expect_exact(f"({expected_type})")