### 13.13.2 Check if points and/or lines in space are coplanar: is_coplanar

The is_coplanar command takes as arguments a list or sequence of points or lines.

is_coplanar returns 1 is the objects are coplanar; it returns 0 otherwise.

Input:

is_coplanar([0,0,0],[1,2,-3],[1,1,-2],[2,1,-3])

Output:

1

Input:

is_coplanar([-1,2,0],[1,2,-3],[1,1,-2],[2,1,-3])

Output:

0

Input:

is_coplanar([0,0,0],[1,2,-3],line([1,1,-2],[2,1,-3]))

Output:

1

Input:

is_coplanar(line([-1,2,0],[1,2,-3]),line([1,1,-2],[2,1,-3]))

Output:

0