def check_upload_status(self, video_id):
<EOL>if not self.authenticated:<EOL><INDENT>raise ApiError(_("<STR_LIT>"))<EOL><DEDENT>entry = self.fetch_video(video_id)<EOL>upload_status = Api.yt_service.CheckUploadStatus(entry)<EOL>if upload_status is not None:<EOL><INDENT>video_upload_state = upload_status[<NUM_LIT:0>]<EOL>detailed_message = upload_status[<NUM_LIT:1>]<EOL>return {"<STR_LIT>": video_upload_state, "<STR_LIT>": detailed_message}<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Checks the video upload status
Newly uploaded videos may be in the processing state

Authentication is required

Returns:
    True if video is available
    otherwise a dict containes upload_state and detailed message
    i.e. {"upload_state": "processing", "detailed_message": ""}