public static boolean hasEnhancements(String prestige, List<Integer> requiredList, int tier){
		
		List<Enhancement> el = new ArrayList<Enhancement>();
		
		//check prestige trees
		ClassTree ct = (ClassTree) getTree(prestige);
		
		List<Integer> integerList = new ArrayList<Integer>();
		//fetch all enhancement ids and match them to the required ids
		
		for (int i : requiredList){
			el.add(ct.getEnhancement(i));
		}
		
		for (int n = 0; n < el.size(); n++){
			integerList.add(el.get(n).getId());
		}	

		if(!integerList.containsAll(requiredList))//if not all enhancements are there, fail
			return false;
		
		integerList.clear();
		for (int n = 0; n < el.size(); n++){
			integerList.add(el.get(n).getTiersTaken());//get the tiers taken per required enhancement
		}					
		
		return true; //all requirements passed
	}