is Single Instance
fun isSingleInstance(onRestoreFileCreated: <Error class: unknown class>.() -> Unit? = null, onRestoreRequest: <Error class: unknown class>.() -> Unit): Boolean
Checks if the current process is the single running instance.
Parameters
on Restore Request
A function to be executed if a restore request is received from another instance.