(b) The court or other public officer concerned in the matter may
examine under oath any insurer or charitable bail organization doing a
bail business or a depositor of security for bail, or the officer or
agent of any such insurer, charitable bail organization or depositor
proposing to execute a bail bond, or to make such deposit, as to the
indemnity, if any, deposited or otherwise provided directly or
indirectly against loss by reason of the deposit or bail bond and as to
the fee charged, if any, for the giving of such bond. The court or other
public officer concerned in the matter may refuse to accept such bond or
deposit if satisfied that any portion of such security has been
feloniously obtained by the defendant, or that the provisions of this or
any other section of law have been violated, or that the person or
persons indemnifying such insurer or depositor shall have within a
period of one month prior thereto given indemnification or security for
like purpose in more than two cases not arising out of the same
transaction and that such person is not duly licensed by the
superintendent in accordance with the provisions of this chapter.