When Is A Maternal Effect Adaptive