e offered to attack the credibility of the plaintiff as provided in Section 783. 1107. (a) In a criminal action, expert testimony is admissible by either the prosecution or the defense regarding intimate partner battering and its effects, including the nature and effect of physical, emotional, or mental abuse on the beliefs, perceptions, or behavior of victims of domestic violence, except when off