<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _every(times, step_size, index):
 """ Given a loop over batches of an iterable and an operation that should be performed every few elements. Determine whether the operation should be called for the current index. """

        current = index * step_size
        step = current // times * times
        reached = current >= step
        overshot = current >= step + step_size
        return current and reached and not overshot