does the valueOrNull here not mean that the !possibleContent.hasValue() is redundant in the if statement above?