Boolean Question

How to check if boolean is undefined?
I know that for numbers you can use if(isNaN(number)){some stuff}}
I need some kind of isNaN for booleans…