def is_agent_version_with_patch(installed_version_major, installed_version_minor, installed_version_patch):
    """
    Return: True if the agent version is newer/the same as the one containing the OMI patch. Otherwise  False
    """
    VERSION_MAJOR = 1
    VERSION_MINOR = 17
    VERSION_PATCH = 2
    if (installed_version_major > VERSION_MAJOR or
            (installed_version_major == VERSION_MAJOR and installed_version_minor > VERSION_MINOR) or
            (
                    installed_version_major == VERSION_MAJOR and installed_version_minor == VERSION_MINOR and installed_version_patch >= VERSION_PATCH)):
        return True
    return False

    Return: True if the agent version is newer/the same as the one containing the OMI patch. Otherwise  False
    
DataConnectors/CEF/cef_troubleshoot.py