Pyqt Check If Signal Is Connected