check_param_names function

Check if the param has the list elements of a valid param object.