Function using OR, AND and COND macros
Using a function with AND and OR