Probably an allusion to a police officer blowing his or her whistle on observing a violation of the law.