If I have a function bool Foo(string? input), then I can annotate it to indicate that if the return is true then input is not null:
bool Foo(string? input)
true
input