def METHOD_NAME():
    """
    Return the version of the latest installed kernel.
    CLI Example:
    .. code-block:: bash
        salt '*' kernelpkg.latest_installed
    .. note::
        This function may not return the same value as
        :py:func:`~salt.modules.kernelpkg_linux_yum.active` if a new kernel
        has been installed and the system has not yet been rebooted.
        The :py:func:`~salt.modules.kernelpkg_linux_yum.needs_reboot` function
        exists to detect this condition.
    """
    pkgs = list_installed()
    if pkgs:
        return pkgs[-1]
    return None