Set a variable to $true if the alias was called, and read te variable. if it is $true, then the alias was called