code: function validateIdenticialTypedKeys (keyA, keyB) {
      if (keyA && typeof keyA === 'string' && keyB && typeof keyB === 'string') {
          const keyA_CNS = (keyA.charAt(0) === COMPOSITEKEY_NS);
          const keyB_CNS = (keyB.charAt(0) === COMPOSITEKEY_NS);
          if (keyA_CNS !== keyB_CNS) {
              throw new Error(`Keys are not of the same type (composite or simple) [${keyA}] [${keyB}]`);
          }
      }
  }
docs: To ensure that simple keys do not go into composite key namespace, we validate simplekey to check whether the key starts with 0x00 (which is the namespace for compositeKey). This helps in avoding simple/composite key collisions.