In school threat cases, judge turns to polygraph