Add a method to test the existence of a signal.