def isSprintCompleted(self, sprintIdx):
numExistingSprints = len(self._state['<STR_LIT>'])<EOL>if sprintIdx >= numExistingSprints:<EOL><INDENT>return False<EOL><DEDENT>return (self._state['<STR_LIT>'][sprintIdx]['<STR_LIT:status>'] == '<STR_LIT>')<EOL>
Return True if the given sprint has completed.