def is_intersect(line_a, line_b):
<EOL>orientation_1 = orientation(line_a.endpoint_a, line_a.endpoint_b,<EOL>line_b.endpoint_a)<EOL>orientation_2 = orientation(line_a.endpoint_a, line_a.endpoint_b,<EOL>line_b.endpoint_b)<EOL>orientation_3 = orientation(line_b.endpoint_a, line_b.endpoint_b,<EOL>line_a.endpoint_a)<EOL>orientation_4 = orientation(line_b.endpoint_a, line_b.endpoint_b,<EOL>line_a.endpoint_b)<EOL>if (orientation_1 != orientation_2 and orientation_3 != orientation_4):<EOL><INDENT>return True<EOL><DEDENT>if (orientation_1 == <NUM_LIT:0> and on_segment(line_a.endpoint_a, line_b.endpoint_a,<EOL>line_a.endpoint_b)):<EOL><INDENT>return True<EOL><DEDENT>if (orientation_2 == <NUM_LIT:0> and on_segment(line_a.endpoint_a, line_b.endpoint_b,<EOL>line_a.endpoint_b)):<EOL><INDENT>return True<EOL><DEDENT>if (orientation_3 == <NUM_LIT:0> and on_segment(line_b.endpoint_a, line_a.endpoint_a,<EOL>line_b.endpoint_b)):<EOL><INDENT>return True<EOL><DEDENT>if (orientation_4 == <NUM_LIT:0> and on_segment(line_b.endpoint_a, line_a.endpoint_b,<EOL>line_b.endpoint_b)):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Determine if lina_a intersect with line_b

:param lina_a:
:type lina_a: models.Line
:param lina_b:
:type line_b: models.Line
:return:
:rtype: bool