Check if getType is defined