Test your surface with acetone, methyl or nail polish with acetone.
If the colour transfers, it’s latex.
If it doesn’t transfer, it’s oil.
If you don’t want to paint with oil based paints, you can use a quality 100% Acrylic Latex Super Adherent primer.
Follow the same rules for preparation, prime then use your choice of Benjamin Moore’s quality latex / waterborne paint of your choice.