Checks if the expression is static.
A static expression will never change its result when evaluate is called on it
with the same arguments.
That means a call to watch is not necessary because it will never trigger a
true if the expression is static