Yelp interview question

are the input four points form a squre