pub fn check_predicate_true(predicate: bool, fail_msg: &str) -> Result<()>
Checks the predicate is true.
predicate