Determines whether the call to get_key, get_value and set_value is legal. It is false at the beginning and after unset call and true otherwise.