consistent class check for bammdata