TEIIDDES-2122 added shouldValidate() method to QueryValidator
 * now checks for view procedure object and isFunction() == TRUE and prevents validation