is_script_run
is_script_run(); - check whether the current script is currently running.
After testing, the function returns the result of its work to the script :
true – human is currently executing the script
false – human is not currently executing the script