Per Adrien feedback, an explicit check and return value