function isBlockCurrentStyled(block) {
    const path = block.pathObject.svgPath;
    const classes = path.getAttribute('class');
    return (' ' + classes + ' ').indexOf(' blockly-ws-search-current ') !== -1;
  }
Check if a block is currently styled.
@param {Blockly.BlockSvg} block The block to test.
@returns {boolean} True if the block is currently styled.