def isLastBatch(self, lapFrac):
    ''' Returns True/False for whether given batch is last (for current lap)
    '''
    return lapFrac % 1 == 0
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/learnalg/LearnAlg.py/LearnAlg.isLastBatch/original