'Check if connection works
Return message if an old version of SAB is used
:return: bool'

def test(self):

    try:
        sab_data = self.call({'mode': 'version'})
        v = sab_data.split('.')
        if ((sab_data != 'develop') and (int(v[0]) == 0) and (int(v[1]) < 7)):
            return (False, 'Your    Sabnzbd    client    is    too    old,    please    update    to    newest    version.')
        sab_data = self.call({'mode': 'qstatus'})
        if (not sab_data):
            return False
    except:
        return False
    return True
