text: public virtual bool IsMatch(){ListIterator<Head> headIterator = heads.ListIterator(heads.Count);while (headIterator.HasPrevious()){Head head = headIterator.Previous();if (head == LastHead.INSTANCE){return true;}}return false;}