That's correct. The double-check here is to make sure we don't over-write existing keys, because what could happen is that after the above check, this function is scheduled off, and then somebody else sets a key is set, and this function is brought back to execute. (maybe this is not possible in node?)