public boolean isAdmissible(Ally ally) {
      long points = 0;
      if (ally != null) points = ally.getPoints();

      if (minPoints != -1 && points < minPoints) return false;
      if (maxPoints != -1 && points > minPoints) return false;

      int level = ally.getMediumLevel();

      if (minLevel != -1 && level < minLevel) return false;
      if (maxLevel != -1 && level > minLevel) return false;

      return true;
    }