pub fn signal_has_handler_pending<T: ObjectType>( instance: &T, signal_id: SignalId, detail: Option<Quark>, may_be_blocked: bool) -> bool