Plaintiff A filed a complaint for unlawful detainer in the Metropolitan Trial Court. The assessed value of the property involved was well within the jurisdictional limit for unlawful detainer cases in the first level courts. However, instead of requiring the defendant to answer, the court outrightly dismissed the complaint because the attached lease agreement appeared to have expired on its face.
Did the court act correctly in outrightly dismissing the complaint?