First, scrub a small area with a solution of household detergent and warm water. Rinse well and towel dry. Then soak a cotton ball, Q tip or soft rag in alcohol and rub it back and forth over the cleaned area. If paint comes off, it’s latex. If not, its oil based. In either case, proper prep is key.