This command will return a value of one if the particles object exists, otherwise zero.

Syntax: 
Return Integer=PARTICLES EXIST(Particle Number)