answer: yes, it is written in subjunctive mood.
explanation: the word "were" is a subjunctive form. for it to be in normal form, the word "were" should be replaced with "was" (first person and third person singular of to be in the past tense).
hope this helps:)