I need to prove:

Let f:A->B be a function. We can generate a function fromP(A) toP(B) using images. Define F:P(A)->P(B) by F(S)=f(S) for each S$\displaystyle \in$P(A). Under what circumstances is F onto?

I know that F is onto when f is onto, but how do I go about proving this?