def METHOD_NAME():
    """Determine if yum is really just dnf by looking at `which yum`"""
    yum_path = shutil.which("yum")
    if not yum_path:
        return False
    # If yum is not a symlink then it's not dnf
    if not os.path.islink(yum_path):
        return False
    maybe_dnf = os.path.basename(os.readlink(yum_path))
    dnf_exists = os.path.exists(shutil.which(maybe_dnf))
    assert dnf_exists, f"Yum points to invalid path: {maybe_dnf}"
    # Inspect the name of the binary yum points to and assume that if
    # it starts with `dnf` its probably dnf
    return maybe_dnf.startswith("dnf")