if (entries.isEmpty) - it's slightly more semantic