def METHOD_NAME(parts):
    """
    Parse part of an ls output line that is selinux on RHEL8.
    Args:
        parts (list): A four element list of strings representing the initial
            parts of an ls line after the permission bits. The parts are link
            count, owner, group, and everything else
    Returns:
        A dict containing links, owner, group, se_user, se_role, se_type,
        se_mls, size, date, and name. If the raw name was a symbolic link,
        link is also included.
    """
    links, owner, group, last = parts
    selinux = parts[3].split(":")
    lsel = len(selinux)
    selinux, size, last = parts[-1].split(None, 2)
    selinux = selinux.split(":")
    date = last[:12]
    path, link = parse_path(last[13:])
    result = {
        "links": int(links),
        "owner": owner,
        "group": group,
        "se_user": selinux[0],
        "se_role": selinux[1] if lsel > 1 else None,
        "se_type": selinux[2] if lsel > 2 else None,
        "se_mls": selinux[3] if lsel > 3 else None,
        "size": int(size),
        "name": path,
        "date": date,
    }
    if link:
        result["link"] = link
    return result