Returns whether handler_id is the ID of a handler connected to instance.
handler_id
instance
The instance where a signal handler is sought.
the handler ID.
whether handler_id identifies a handler connected to instance.