Rename function isRequiredCheck to requiredCheck