Given a homomorphism of a group $G$ to the mapping class group of a manifold $M$, is there any condition that guarantees that it is defined by an action of $G$ on $M$? Thank you very much.