<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_ensembl_api_version(self):
 """ check the ensembl api version matches a currently working version This function is included so when the api version changes, we notice the change, and we can manually check the responses for the new version. """

        
        self.attempt = 0
        headers = {"content-type": "application/json"}
        ext = "/info/rest"
        r = self.ensembl_request(ext, headers)
        
        response = json.loads(r)
        self.cache.set_ensembl_api_version(response["release"])