code: public boolean isRandom()
      {
          boolean is_random = true;
          for (Match match : matches)
          {
              if (!(match instanceof BruteForceMatch))
              {
                  is_random = false;
                  break;
              }
          }
          return is_random;
      }
docs: Returns whether the password is considered to be random.
  
  @return true if the password is considered random, false otherwise.