def METHOD_NAME():
    if not installed_devlib_version or installed_devlib_version[:-1] <= required_devlib_version[:-1]:
        # Check the 'dev' field separately to account for comparing with release versions.
        if installed_devlib_version.dev and installed_devlib_version.dev < required_devlib_version.dev:
            msg = 'WA requires Devlib version >={}. Please update the currently installed version {}'
            raise HostError(msg.format(format_version(required_devlib_version), devlib.__version__))