Removed unused `is-weekend` function