Validates that all arguments passed to the function are scalar boolean values (TRUE or FALSE).
If any argument is not a boolean, an error is thrown that identifies the offending variable
by name and instructs the user to set it to either TRUE or FALSE.