This is just preference, but I'll mention it. If ruby, it's convention to end method names with a question mark (example: `.empty?`) that return a boolean. Since `empty` returns a boolean val, it would be easy to know that by renaming this function `isEmpty: ->`.