check_plan function

Check a workflow plan data frame for obvious errors.