def METHOD_NAME(a: int | list[int] | dict[str, int] | None):
    if isinstance(
        a,
        (str, (int, list, type(None))),
    ):
        reveal_type(a, expected_text="int | list[int] | None")
    else:
        reveal_type(a, expected_text="dict[str, int]")