def mmal_check(status, prefix=""):
    if status != mmal.MMAL_SUCCESS:
        raise PiCameraMMALError(status, prefix)
duplicates the selected referenced object as reference
dataset/ETHPy150Open waveform80/picamera/picamera/exc.py/mmal_check--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/Reference.duplicate_selected_reference