public boolean hasSubTerm(String query){
		if(subTerms.size() != 0){
			for(Term potentialMatch: subTerms){
				if(potentialMatch.getTerm().equals(query)){
					return true;
				}
			}
			return false;
		}
		else {
			return false;
		}
	}