Copied from here: https://github.com/alastair/python-musicbrainz-ngs/blob/master/examples/releasesearch.py
It should probably be removed from there, too. But that should be done in a different branch or directly in master by one of the maintainers.