State:has
Tests whether a persistent state key exists.
Function
Synopsis
state:has( key )
Arguments
string key- A valid state key.
Returns
boolean exists- Whether the key has a value.
Notes
An empty string is a present value. Reads observe writes made earlier in the current callback transaction.