Valid Boomerang

From LeetCode. Collinearity check. Solve the geometry problem "Valid Boomerang".

Examples
Input: [1,2,3]
Output: 0
Hints

Valid Boomerang

**From LeetCode.** Collinearity check. Solve the geometry problem "Valid Boomerang".