(a) A director who is a party to a proceeding because he or she is a director may apply for indemnification or an advance for expenses to the circuit court conducting the proceeding or to another circuit court of competent jurisdiction. After receipt of an application and after giving any notice it considers necessary, the circuit court shall:
(1) Order indemnification if the circuit court determines that the director is entitled to mandatory indemnification under section eight hundred fifty-two of this article;