ConvexPolygonQ
ConvexPolygonQ[poly] gives True if the polygon poly is convex, and False otherwise.
Examples
Check if a polygon is convex:
ConvexPolygonQ[Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}]]
(* True *)Please visit the official Wolfram Language Reference for more details.