def is_opened(self) -> bool:
    'Returns True if video writer has been successfully initialized.'
    return self._video_writer.isOpend()
Returns True if video writer has been successfully initialized.
def is_opened(self) -> bool:
    
    return self._video_writer.isOpend()