diff --git a/lib/core/error.js b/lib/core/error.js
index <HASH>..<HASH> 100644
--- a/lib/core/error.js
+++ b/lib/core/error.js
@@ -55,7 +55,11 @@ class MongoError extends Error {
    * @returns {boolean} returns true if the error has the provided error label
    */
   hasErrorLabel(label) {
-    return this[kErrorLabels] && this[kErrorLabels].has(label);
+    if (this[kErrorLabels] == null) {
+      return false;
+    }
+
+    return this[kErrorLabels].has(label);
   }
 
   addErrorLabel(label) {
refactor: explicitly return a boolean for errorLabel presence