validate_flex_prms function

checks if a flex_prms_object is parameterized in a reasonable way