(a) In mediation proceedings pursuant to this chapter, the mediator has the duty to assess the needs and interests of the child involved in the controversy, and is entitled to interview the child when the mediator considers the interview appropriate or necessary.
(b) The mediator shall use their best efforts to effect a settlement of the custody or visitation dispute that is in the best interest of the child, as provided in Section 3011.