509. Whoever, intending to insult the modesty of any person, utters any word, makes any sound or gesture, or exhibits any object, intending that such word or sound shall be heard, or that such gesture or object shall be seen by such person, or intrudes upon the privacy of such person, shall be punished with imprisonment for a term which may extend to five years or with fine or with both.