Remove unnecessary test for isRequired check