find_marker return the first frame that might be unsafe for the parser
has_marker ?diff t f returns true iff f is still in t stack.
If provided, diff is used to speed-up the search (amortized constant time),
assuming that diff is the same parser as t with one more or one less
has_marker ?diff t f
Raise Not_found if no frame match