code: private static boolean checkCriticalValue(double score, boolean is_twoTailed, int n1, int n2, double aLevel) {
          boolean rejected=false;
  
          double criticalValue= calculateCriticalValue(is_twoTailed,n1,n2,aLevel);
  
  
          if(score>criticalValue) {
              rejected=true; 
          }
  
          return rejected;
      }
docs: Checks the Critical Value to determine if the Hypothesis should be rejected
  
  @param score
  @param is_twoTailed
  @param n1
  @param n2
  @param aLevel
  @return