ยง 2513. Action on undertaking to a public officer, board or municipal corporation. A person for whose benefit an undertaking has been given to a public officer, board or municipal corporation of the state may move, on notice to persons interested in the disposition of the proceeds, for leave to bring an action in his own name for breach of a condition.