is_condition function

Check whether a list of character vectors contains valid conditions