The key will exists always as it is set by this method. But this can be null, what I had before was matching null || false, I need something that sets the default value on those cases. like I said, the key on the document might exists with a null value.