def register(listener):
    _validate_event_listeners('listener', [listener])
    _LISTENERS.command_listeners.append(listener)
This method is called to handle images.
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/monitoring.py/register--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/htmllib.py/HTMLParser.handle_image