did the logic in the view to see if a student has checked in for a class

It hit me on bart that you can see if a student has checked in if they have a current class and just running a query on the checkIns for the student, active class and current day