Yes, a pilot flame typically provides a smaller flame intensity signal than the main flame,  allowing the sensor to differentiate between the pilot and main flame.