def is_bitlink(token, link):
    response = requests.get('https://api-ssl.bitly.com/v4/bitlinks/{0}{1}'.format(link.netloc, link.path), headers={'Authorization': 'Bearer {}'.format(token)})
    return response.ok
def is_bitlink(token, link):
    response = requests.get('https://api-ssl.bitly.com/v4/bitlinks/{0}{1}'.format(link.netloc, link.path), headers={'Authorization': 'Bearer {}'.format(token)})
    return response.ok