JSFiddle - React, Tailwind, and code Playground

HTML

<div class="vc_row-has-fill vc_custom_1498122672544">
no
</div>
<div class="vc_row-has-fill">
no
</div>
<div>
no
</div>

<input id="change" type="button" value="change" />

CSS

.vc_custom_1498122672544{
  background-image : url(https://image.freepik.com/free-vector/abstract-background-with-a-watercolor-texture_1048-2144.jpg);
}

JavaScript

$('#change').on('click', function(){
    $('.vc_row-has-fill').each(function(){
        if ($(this).hasClass('vc_custom_1498122672544')){
           if ($('.vc_custom_1498122672544').css('background-image') != 'none') {
              $(this).html('yes');
            }
        }
    });
})