I am trying to validate a parameter based on 2 conditions. must be a string , case insensitive. If the parameter does not equal "title" or "author" it should