Had it a few times, including once when the plane was waiting fully boarded at the gate for departure. Noting there was a 30 minute wait before we could leave the gate, the captain stood in front of everyone on the plane, and invited anyone interested into to the cockpit for a talk/selfie. Great way to keep spirits up within the plane, and a fantastic way to keep the passengers entertained.