Check write key once in initializer