def METHOD_NAME(self):
    if len(weixin_token_dict) == 0:
        response = urllib2.urlopen(self.url_gettoken)
        content = response.read()
        s = json.loads(content)
        access_token = s['access_token']
        weixin_token_dict['access_token'] = access_token
        logging.info('new get token -> %s', access_token)
    else:
        access_token = weixin_token_dict['access_token']
    return access_token