def get_gmn_version(base_url):
    """Return the version currently running on a GMN instance.

    (is_gmn, version_or_error)

    """
    home_url = d1_common.url.joinPathElements(base_url, 'home')
    try:
        response = requests.get(home_url, verify=False)
    except requests.exceptions.ConnectionError as e:
        return False, str(e)

    if not response.ok:
        return False, 'invalid /home. status={}'.format(response.status_code)

    soup = bs4.BeautifulSoup(response.content, 'html.parser')
    version_str = soup.find(string='GMN version:').find_next('td').string
    if version_str is None:
        return False, 'Parse failed'

    return True, version_str
Return the version currently running on a GMN instance.

    (is_gmn, version_or_error)