isTermTree