UI.UpdateHidden: {$edmJson: {$Eq: [{$Path: 'someProperty'}, true]}},
Whenever the value of someProperty is true the Edit button will be hidden on the UI
someProperty
Hope this helps!