Check if an error condition is satisfied
check_condition(condition, message, fatal = TRUE)logical test which if TRUE will cause the function to
return an error message
error message to be displayed if condition is met.
if TRUE, error message is fatal, i.e., it will abort the
parent function which called check_condition.