18’ Subaru Legacy

Cars has 54k on her runs good. Keeping it but is there a head gasket issue with this year. Mechanic Friend said get rid of the car before it hits 100k.