Checking buffs on other players

I was wondering is there a way to check buffs active on other players in the condition section ??
For example i wanna check if a specific player has Moving march active if not recast the skill etc …