spaCy doesn't explicitly mark the imperative mood, but you can infer it using syntactic clues.
spaCy
dep_ == "ROOT"
nsubj