this is misleading, because it's not just a check for a boolean. Either make two functions, one to check for consistency, and one to make the two consistent, or just make one function that does the same thing.