code: def get_submission(self, submissionid, user_check=True):
          
          sub = self._database.submissions.find_one({'_id': ObjectId(submissionid)})
          if user_check and not self.user_is_submission_owner(sub):
              return None
          return sub
docs: Get a submission from the database