'Tests if a sentence contains a valid fix.'

def _validateCurrentSentence(self):

    if ((self.currentSentence.fixQuality is GPGGAFixQualities.INVALID_FIX) or (self.currentSentence.dataMode is GPGLLGPRMCFixQualities.VOID) or (self.currentSentence.fixType is GPGSAFixTypes.GSA_NO_FIX)):
        raise base.InvalidSentence('bad    sentence')
