Okla. Stat. tit. 12, § 2011.1
In any action not arising out of contract, if requested the court shall, upon ruling on a motion to dismiss an action or a motion for summary judgment or subsequent to adjudication on the merits, determine whether a claim or defense asserted in the action by a nonprevailing party was frivolous. As used in this section, "frivolous" means the claim or defense was knowingly asserted in bad faith or without any rational argument based in law or facts to support the position of the litigant or to change existing law. Upon so finding, the court shall enter an order requiring such nonprevailing party to reimburse the prevailing party for reasonable costs, including attorney fees, incurred with respect to such claim or defense. In addition, the court may impose any sanction authorized by Section 2011 of [this title]1.
The language in brackets appears to be a vestige of Laws 2009, HB 1603, c. 228, § 15, which was purportedly repealed by Laws 2013, 1st Extr. Sess., HB 1006, c. 4, § 1. See also, § 6 of Laws 2013, 1st Extr. Sess., HB 1006, c. 4.
Laws 2004, SB 1430, c. 370, § 1, eff. November 1, 2004; Amended by Laws 2007, SB 634, c. 12, § 10, eff. November 1, 2007 (superseded document available); Amended by Laws 2009, HB 1603, c. 228, § 15, eff. November 1, 2009 (repealed by Laws 2013, 1st Extr. Sess., HB 1006, c. 4, § 1, emerg. eff. September 10, 2013); Amended by Laws 2013, 1st Extr. Sess., HB 1006, c. 4, § 4, emerg. eff. September 10, 2013, as amended by Laws 2013, 1st Extr. Sess., HB 1006, c. 4, § 5, emerg. eff. September 10, 2013 (superseded document available).