def METHOD_NAME(interactive):
    cpu_bits = geninfo_lookup('CPU_BITS')
    oms_version = get_oms_version()
    if (oms_version == None):
        return ERR_OMS_INSTALL
    # check if version is >= 1.11
    if (not comp_versions_ge(oms_version, '1.11')):
        error_info.append((oms_version, cpu_bits))
        return ERR_OLD_OMS_VER
    # get most recent version
    (curr_oms_version, e) = get_curr_oms_version(OMSAGENT_URL)
    # getting current version failed
    if (curr_oms_version == None):
        # could connect, just formatting issue
        if (e == None):
            return ERR_GETTING_OMS_VER
        # couldn't connect
        else:
            checked_internet = check_internet_connect()
            # issue with connecting to Github specifically
            if (checked_internet == NO_ERROR):
                print("WARNING: can't connect to {0}: {1}\n Skipping this check...".format(OMSAGENT_URL, e))
                print("--------------------------------------------------------------------------------")
            # issue with general internet connectivity
            else:
                return checked_internet
    # got current version
    else:
        # if not most recent version, ask if want to update
        if (interactive and (not comp_versions_ge(oms_version, curr_oms_version))):
            if (ask_update_old_version(oms_version, curr_oms_version, cpu_bits) == USER_EXIT):
                return USER_EXIT
    return update_omsadmin(