Function isShapeToLinearElementPossible