code: public static boolean isProtectedExtension(String path) {
  		for(String extension : PROTECTED_EXTENSIONS) {
  			if(path.endsWith(extension)) return true;
  		}
  		return false;
  	}
docs: Checks that the given resource should not be included under any circumstances.