code: public static boolean checkValidInclude(TemplateType includeeType,
  			TemplateType includedType) {
  		return allowedIncludes[includeeType.ordinal()][includedType.ordinal()];
  	}
docs: Determine whether a particular include combination is legal.
  
  @param includeeType
  type of the template that is including another one
  @param includedType
  type of the included template
  
  @return flag indicating whether this is a legal combination