properly validating and casting bool