<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_valid_api_key(self):
 """ Checks validity. Right now, an API key is considered valid if it can list user API keys and the result contains that API key. This might change in the future. :return: True if the API key is considered valid for current user. """

        res = self.send('api/v3/api_keys', 'get')
        return \
            res.ok and \
            self.api_key in (ak['token'] for ak in res.json()['result'])