Add the isIntType method to infer the type from Type object and check if
the type is an Int type.