Yes, most likely a shadow. I've noticed them occasionally, and it takes a while for your brain to accept there's a thin cloud layer below the contrail!