Ensures the input is data frame-like, contains a cohort column, and that
each element in the cohort column is a valid cohort.
Ensures the input is data frame-like, contains a cohort column, and that
each element in the cohort column is a valid cohort.