WordPress File wp-includes/functions-wp-scripts.php

wp_script_is()

Determines whether a script has been added to the queue.