Agent to Player

How would I check my Agent of type ?agent?