diff --git a/src/consumer/offsetManager/index.js b/src/consumer/offsetManager/index.js
index <HASH>..<HASH> 100644
--- a/src/consumer/offsetManager/index.js
+++ b/src/consumer/offsetManager/index.js
@@ -316,8 +316,7 @@ module.exports = class OffsetManager {
       return assign(obj, { [partition]: offset })
     }
 
-    const hasUnresolvedPartitions = () =>
-      unresolvedPartitions.filter(t => t.partitions.length > 0).length > 0
+    const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)
 
     let offsets = consumerOffsets
     if (hasUnresolvedPartitions()) {
Use Array.prototype.some instead of filtering the complete array just for checking for non-emptiness