Question d’entretien chez RxLogix Corporation

How to check wether a list is loop or not? PseudoCode.