Gravity problem

How do i check if the gravity is positive or negative in c# script?

bool isGravityPositive = Physics.gravity.y > 0;