You can do that by typing
spark at the end of a cell in the Jupyter or whatever you use for “sparking”. That will give you a hyperlink to the web UI. Of the local spark.
Then just switch to the Environment tab. And look at the runtime information. There will be a variable pointing to scholar version. In this case, it’s 2.12.15.