If, however, the attorney claim a lien, upon the money or papers, under the provisions of *this chapter, the court or judge may: (1) Impose as a condition of making the order, that the client give security in a form and amount to be directed, to satisfy the lien, when determined in an action; (2) summarily to inquire into the facts on which the claim of a lien is founded, and determine the same; or (3) to refer it, and upon the report, determine the same as in other cases.