Determine if the original path of an alias is local or remote

I have a folder full of thousands of aliases and need to isolate the ones referencing a remote path on another computer on an AFP network. I can iterate all of the alias files over a terminal command with Automator but can’t find the right command to determine the original path of an alias.

I’d be grateful for any help. Thanks.