added a method that checks presence of term in the termMap

1 job for main in 36 seconds (queued for 1 second)