factor out common checks for setting special type attributes
1 file changed