A Method to Quantify Gravity in Molecular Clouds