Check for a boolean.