is_all_completed
is_all_completed(); - check that all scripts are not running.
After testing, the function returns the result of its work to the script :
true – none of the scripts on the current page are currently runningfalse – some of the scripts on the current page are currently running