`if ( vwf_view.kernel.test( '', '/editor', nodeId ) )` is equivalent if you would prefer to say it in one statement.