Unfortunately, the get_boolean() method doesn't raise Exceptions but returns None when it can't parse a boolean value from the input. Because of this, it's actually not an elif case, as I have to make sure I got a boolean value back.