What called a script?

Is it possible for a script to know what automation initiated it?
(Without passing a variable)