A more direct answer to your actual question, Pat is yes.
It is typically call a "Debounce" circuit.
It prevents transient signals from affecting normal operation.
It can be program logic or relay logic.
In your application, for the sake of economy and simplicity (assuming your application uses...