If you want to know if it's absent, invoke isPresent. get will return nullable in OptionalNullablePresence, unless the field can't be nullable. Which then you can use OptionalPresence.
I use this to determine what to push in the query when publishing to db