How to Hide Elements based off other empty Elements?

This worked for me! I had a container with a repeater on my dynamic title page and here’s what I did:

$w.onReady(function () {

    $w("#theDataSetImPullingFrom").onReady(() => {

            let item = $w("#theDataSetImPullingFrom").getCurrentItem();
            console.log(item)
            
            if(item === null)
                $w("#myContainer").hide();
            else
                $w("#myContainer").show()
                
    })

});