diff --git a/lib/sessions.js b/lib/sessions.js
index <HASH>..<HASH> 100644
--- a/lib/sessions.js
+++ b/lib/sessions.js
@@ -84,6 +84,17 @@ class ClientSession extends EventEmitter {
       this.operationTime = operationTime;
     }
   }
+
+  /**
+   * Used to determine if this session equals another
+   */
+  equals(session) {
+    if (!(session instanceof ClientSession)) {
+      return false;
+    }
+
+    return this.id.id.buffer.equals(session.id.id.buffer);
+  }
 }
 
 Object.defineProperty(ClientSession.prototype, 'id', {
feat(sessions): add equality operator to ease readability