Is the pumpkin a dicot?

Yes, it has a two-cotyledon seed.