Add a method to check if a signal with the given name exists.