def disconnect(signal, *args, **kwargs):
    """Disconnects the signal, catching any TypeError"""
    try:
        signal.disconnect(*args, **kwargs)
        return True
    except TypeError:
        pass
    else:
        return False