public boolean canRequestTeaching(Person person) {
   List<UserRequest> results = searchTeachingRequest(person.getId());
   for (UserRequest request : results) {
     if (request.getStatus().equalsIgnoreCase("ag")) return false;
     if (request.getStatus().equalsIgnoreCase("ap")) return false;
   }
   return true;
 }
 public boolean canRequestAssistance(Person person, Course course) {
   List<UserRequest> results = searchRequestByUserID(course.getId(), person.getId());
   for (UserRequest request : results) {
     if (request.getStatus().equalsIgnoreCase("ag")) return false;
     if (request.getStatus().equalsIgnoreCase("ap")) return false;
   }
   return true;
 }