In proceedings under this chapter, the court shall order the notice expunged if the court finds that the pleading on which the notice is based does not contain a real property claim. The court shall not order an undertaking to be given as a condition of expunging the notice where the court finds the pleading does not contain a real property claim.
Ca. Civ. Proc. Code § 405.31