A little refactor on Validate.ES.ccc function