def _get_hflip(self):
    self._check_camera_open()
    return (self._camera.outputs[0].params[mmal.MMAL_PARAMETER_MIRROR] in (mmal.MMAL_PARAM_MIRROR_HORIZONTAL, mmal.MMAL_PARAM_MIRROR_BOTH))
def _get_hflip(self):
    self._check_camera_open()
    return (self._camera.outputs[0].params[mmal.MMAL_PARAMETER_MIRROR] in (mmal.MMAL_PARAM_MIRROR_HORIZONTAL, mmal.MMAL_PARAM_MIRROR_BOTH))