There is no built in function you can use, but maybe you can use something like this:
var vLookupHideNewItemBtnTicker = setInterval(function(){
if(spjs.vLookup.dataObj.vLookupTasks !== undefined){
if(spjs.vLookup.dataObj.vLookupTasks[spjs.dffs.data.thisItemID].count > 0){
jQspjs("#newItemWrap_vLookupTasks").hide();
clearInterval(vLookupHideNewItemBtnTicker);
}
}
},1000);
Change “vLookupTasks” to match your field name.
Alexander