Let $\alpha , \beta$ be two planes. Then a necessary and sufficient condition for $\alpha \parallel \beta$ is
A. There are infinitely many lines in $\alpha$ that are parallel to $\beta$
B. There are two intersecting lines in $\alpha$ that are parallel to $\beta$
C. $\alpha$ and $\beta$ are both parallel to the same line
D. $\alpha$ and $\beta$ are both perpendicular to the same plane