Some observations;
When you test a variable value, the container for the variable must exist, even if the variable does not have a value yet.
In other words, if I type in the following for the OnVisible action;
If(!contextvariable, true, false)
It will give me an 'invalid name' error for contextvariable - because nowhere else on the page have I actually created the context container with an UpdateContext formula. It hasn't been defined yet, so I have nothing to test.
Note, defining a container for a variable and setting the variable to something are two separate things.
If I add a button and set the OnSelect property to;
UpdateContext({contextvariable: true})
Two things happen as I type it;
- First, my initial OnVisible formula becomes valid, because contextvariable has now been defined.
- Second, the data type of the value I'm setting is now applied to the container. In other words, by specifying a boolean value for the UpdateContext value, the container is automatically set to that type. NOTE: I have not set the variable yet or run the screen - I have only typed in formula in design view.
NOTE: This is all before the button is actually pushed - simulating the OnVisible action.
Now, this is where it gets interesting.
Before the variable has been set, the following tests on the container yield the following results;
!contextvariable = true
IsBlank(contextvariable) = true
IsEmpty(contextvariable) = false
While it hasn't been set yet, if you test it to see if it isn't true you will be told that indeed, it is not true. This does not however mean it is false, simply that it is not set to boolean true. If you actually look at the variable value, there's nothing in it. It's blank.
This might seem like a long way of saying "It's not false by default, it's blank", but here's something else;
If you change the Onselect formula to this;
UpdateContext({contextvariable: 10})We have effectively changed the data TYPE of the container - still without actually pushing the button.
Now the OnVisible tests look like this;
!contextvariable = false
IsBlank(contextvariable) = true
IsEmpty(contextvariable) = false
It's still blank, but now the !contextvariable test comes back false, instead of true.
This could seriously mess with your head if, for some reason, you're using numbers in this variable 
Once you set it by pushing the button, when next you run OnVisible the results will be;
!contextvariable = false
IsBlank(contextvariable) = false
IsEmpty(contextvariable) = false
So, long story short, it seems to be blank by default. Testing if it isn't boolean true comes back true simply because it isn't boolean true - but that doesn't mean it's boolean false. It's blank.
It never seemd to be empty at any point.
It's only true for logical negation (!contextvariable which is the same as testing IS NOT TRUE) when the type is not a number. When the type is a number, it returns false. Maybe someone can explain why this is a little better 