added a method that determines if you meet the prerequisites for the class