Use underscore to enhance code readability for isLast()