No doubt you have to factor headwind/tailwind into your planning for a flight, and plan to land with a reserve.
However, there’s another thing to consider: should you fly in Normal or Sport Mode? If you have a headwind that is half of your max speed in Normal Mode, wouldn’t you be better off...