Function isLinearElement