[cmd] Improve isScheduled
to be more performant when checking a single command
#7096
+20
−3
Loading