<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def submission_status(self, submission_id=None):
 """submission status of the last submission associated with the account. Args: submission_id (str):
 submission of interest, defaults to the last submission done with the account Returns: dict: submission status with the following content: * concordance (`dict`):
 * pending (`bool`) * value (`bool`):
 whether the submission is concordant * consistency (`float`):
 consistency of the submission * validationLogloss (`float`) * validationAuroc (`float`) Example: {'concordance': {'pending': False, 'value': True}, 'consistency': 91.66666666666666, 'validationLogloss': 0.691733023121, 'validationAuroc': 0.52} """

        if submission_id is None:
            submission_id = self.submission_id

        if submission_id is None:
            raise ValueError('You need to submit something first or provide\
                              a submission ID')

        query = '''
            query($submission_id: String!) {
              submissions(id: $submission_id) {
                concordance {
                  pending
                  value
                }
                consistency
                validationLogloss
                validationAuroc
              }
            }
            '''
        variable = {'submission_id': submission_id}
        data = self.raw_query(query, variable, authorization=True)
        status = data['data']['submissions'][0]
        return status