extracted helpers from greeter for isSet() isMorning() and capitalize()