which is supposed to tell you what actual command will be executed if you type it in.
So if the name is listed by alias then there is an alias mapping which is run instead of looking for the command in the $PATH. Presumeably you are supposed to print out that mapping?