Why not use `_.isEmpty()` instead of additional flag?