Spark: equality check when using outer join - Some or None

apache-spark
scala

#1

Hello friends,
I am working on problem 2 in HDPCD course by Durga.

Can someone please tell me if there is a way to check equality of Some() when we do outer join, just like we did for None in below statement:
val ordersjoincust = orders.rightOuterJoin(customers).filter(x => x._2._1 == None)

I see it works for None, was just wondering if there is some specific syntax for Some as well?
Thanks.