<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_submission_successful(self, submission_id=None):
 """Check if the last submission passes submission criteria. Args: submission_id (str, optional):
 submission of interest, defaults to the last submission done with the account Return: bool: True if the submission passed all checks, False otherwise. Example: True """

        status = self.submission_status(submission_id)
        # need to cast to bool to not return None in some cases.
        success = bool(status["concordance"]["value"])
        return success