Perform type narrowing when condition is "is not None"