add optional argument to ECheckType (closes #1935)