Would be more clear if you return true or false always, using the default return nil in some cases, makes it harder tor read