def _cookiecutter_configs_have_changed(template, old_version, new_version):
temple.check.is_git_ssh_path(template)<EOL>repo_path = temple.utils.get_repo_path(template)<EOL>github_client = temple.utils.GithubClient()<EOL>api = '<STR_LIT>'.format(repo_path)<EOL>old_config_resp = github_client.get(api, params={'<STR_LIT>': old_version})<EOL>old_config_resp.raise_for_status()<EOL>new_config_resp = github_client.get(api, params={'<STR_LIT>': new_version})<EOL>new_config_resp.raise_for_status()<EOL>return old_config_resp.json()['<STR_LIT:content>'] != new_config_resp.json()['<STR_LIT:content>']<EOL>
Given an old version and new version, check if the cookiecutter.json files have changed

    When the cookiecutter.json files change, it means the user will need to be prompted for
    new context

    Args:
        template (str): The git SSH path to the template
        old_version (str): The git SHA of the old version
        new_version (str): The git SHA of the new version

    Returns:
        bool: True if the cookiecutter.json files have been changed in the old and new versions