How to check if player is invisible?

How to check if player is invisible in serverguard admin addone?