helper_checkrow function

Check a vector for particular values