def get_scalp(xgen_description):
    """get the scalp object of the xgen description

    Args:
        xgen_description (PyNode): xgen Description

    Returns:
        PyNode: scalp object
    """

    history = xgen_description.listHistory(type="xgmSplineBase")
    if history:
        base = history[0]
        scalp = base.boundMesh.listConnections()
        if scalp:
            return scalp[0]