THICK line-line intersection

Finding the intersection point of 2 line segments is easy enough.

But now I need to test wether a line with thickness intersects another (non-thick) line.

My idea is to actually perform 2 tests, one at the top and bottom of the thickness of the line. Does that make sense? Is there a better way to do it? I dont need the intersection point, just a boolean yes or no.