Check that the values of a param is in possible values (if defined)