Possible to show & hide a elements on a specific dynami page

Hello, I was wondering if you could help me with similar code?
On a Dynamic page, I want a button to appear only when the connected data has something in the linked dataset field cell.
I am a beginner with wix coding and don’t really know how to use it to my advantage.
Based on your example above, I started with this but i know i am missing major parts or not using the right codes:

$w.onReady( function () {
if (wixLocation.url.includes(“#MyDynamicPage”)) {
$w(‘#CateringButton’).show();
* I only want the #CateringButton to show if the field in the database that it is connected to has a full cell (non empty cell). If the Cell is empty on certain /DynmaicPage/(Title) I dont want the button to show.

} else {
($w(‘#CateringButton’).hide();

});

Can someone help me out, i’m confusing myself. I know what i want the end result to be i just don’t know how to get there… :frowning: