@Override
       public boolean leavable(Player p) {
       if(this.exam == null)
       {
           return true;
       }
       for(Item item : p.getItemHolder().getHeldItems())
       {
           if(item instanceof ExamItem)
           {
               if(((ExamItem)item).getTopic().equals(this.exam.getTopic()))
               {
                   return true;
               }
           }
       }
       return false;
    }