The camera's mode can be forced with Game.ForceFirstPerson () and Game.ForceThirdPerson ().
But there doesn't seem to be a way to detect what the camera is currently set at.
Game.GetPlayer().GetAnimationVariableInt("i1stPerson") as boolUse it in conditionals or assign to a bool variable.