How to see if particle system is a hair system, with Python
Below gives a list of all hair particle systems on the context object.

import bpy
context = bpy.context
obj = context.active_object

hair_particle_systems = [ps for ps in obj.particle_systems 
                            if ps.settings.type == 'HAIR']
if len(hair_particle_systems):
    print("%s has %d HAIR particle systems" % 
             (obj.name, len(hair_particle_systems)))