Alrik's gerbil cage has four compartments, A, B, C, and D. After careful observation, he estimates the proportion of time the gerbil spends in each compartment and constructs the table below.
A- 0.25 B-0.20 C-0.35 D-0.30
Is this a valid probability function? Explain.