If it is diamond shape, Either all 4 sides will be equal or 2 sides will be equal and the other 2 will be equal.
So you can look at it as a square or a rectangle. On a rectangle 2 sides will be equal and the other 2 will be equal. For a square all sides are equal.