def stranger
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport Base
250# Only a stranger that started later than the record's claude disqualifies it.
251def stranger(+recorded: U32, +started: Maybe<&2, U32>, +pid: U32) -> IO(Bool):
252 match started:
253 case None{}:
254 IO.pure(Bool, True{})
255 case Some{st}:
256 stranger2(U32.is_le(st, (recorded + 120 : U32)), pid)