Intersection between a line segment and a polygon in a 3D space

I have a line segment defined by two coordinates (x, z, y) and a polygon (triangle) defined by three coordinates and a normal vector.

I need to know if the line segment intersects the polygon. Find the point of intersection is not necessary.