The if is unecessary options.sytleCheck === true should do.