Hm, rereading this perhaps isContinuous could just be initialised with false instead? Would be a common pattern to assume a certain default and only find to prove the opposite, at least I would not be surprised to read the code like that.
Would save us the === true and the need to have a comment explaining it.
What do you think?