Is the input high, low, or indeterminate when the input signal is absent?
How long from the first edge do you need to know that the signal has returned?
How long after the last edge do you need to know that the signal has stopped?
Assuming the answers are something like low, about 10ms, about...