GetPlayerTeammate
This Condition Function has been marked as obsolete by Skyrim developersSource?.
That being said, it does appear to work in at least some cases (tested as a condition for filling a reference alias). Returns 1 if an actor is currently set as a player teammate via the Papyrus SetPlayerTeammate() function, 0 if not.