check_is_monophyletic function

Check if is_monophyletic has a valid value.