reconnector.py
def is_connected(fritz_connection):
    """
    Returns True if the FritzBox has established an internet-connection.
    """
    status = fritz_connection.call_action('WANIPConnection', 'GetStatusInfo')
    return status['NewConnectionStatus'] == 'Connected'

    Returns True if the FritzBox has established an internet-connection.
    
Returns True if the FritzBox has established an internet-connection.
Returns True if the FritzBox has established an internet - connection .
def is_connected(fritz_connection):
    status = fritz_connection.call_action('WANIPConnection', 'GetStatusInfo')
    return status['NewConnectionStatus'] == 'Connected'
def is_connected ( fritz_connection ) : status = fritz_connection . call_action ( 'WANIPConnection' , 'GetStatusInfo' ) return status [ 'NewConnectionStatus' ] == 'Connected'
Returns True if the FritzBox has established an internet-connection.
Returns True if the FritzBox has established an internet - connection .
"""
    Returns True if the FritzBox has established an internet-connection.
    """
fritz_connection