'Return this most recent APIKey for this user or create one if none have been
created.'

def get_or_create_valid_api_key(self, user):

    existing = self.valid_api_key(user)
    if existing:
        return existing
    return self.create_api_key(self, user)
