This law was enacted to assure that plaintiffs would not be able to burden defendants with onerous discovery demands (and try to coerce a settlement) until a court had determined that the lawsuit could proceed as a matter of law (i.e., until a court found that the complaint, if true, stated a cause of action against the defendant).
Can I use 'truly' to replace 'if true' in this text?