If you are doing the forwarding using the alias "
Also send to all contacts in" setting then, yes, the message is redirected before reaching the Sieve script so no spam checking is done (reference FastMail's
Email forwarding doc).
If you want spam checking done
before redirecting a copy of an incoming message then create an explicit rule to do it and use "
Send a copy to" in the rule to do the forwarding.