Added method for checking value of certain sides identifier of shape.