public static boolean isValidSolution(Team heroes){
		if(useBudget && heroes.getCost() > budget){
			return false;
		}
		if(heroes.getDurability() < Helper.villains.getDurability())
			return false;
		if(heroes.getEnergy() < Helper.villains.getEnergy())
			return false;
		if(heroes.getFightingSkills() < Helper.villains.getFightingSkills())
			return false;
		if(heroes.getIntelligence() < Helper.villains.getIntelligence())
			return false;
		if(heroes.getSpeed() < Helper.villains.getSpeed())
			return false;
		if(heroes.getStrength() < Helper.villains.getStrength())
			return false;
			
		return true;
	}