Script Seq.isEmpty support