Add a method to test the existence of a signal.

The goal of this commit is to add a way to know if a signal exists in an entity without retrieving this signal.
Especially in the python interface, I didn't find a way to have this information unless by getting the signal, and catching the exception if the signal does not exist.

This can be useful for the entities that can create signals on the fly.