Yes, residency discount is available for some routes. After selecting the trip you want to book, the next page will indicate if a resident discount is available to select.
When you check in at the port, you'll need to show valid proof of residency. If you cannot provide this, the ferry company will ask you to pay the price difference for the non-discounted ticket.
All passengers on the booking need residency for the discount to apply. If one or more of your passengers does not have residency, you'll need to make two separate bookings to get the best price.