(n_steps)
return lambda step: step % n_steps == 0
Returns True every n_steps, for use as *_at functions in various places.
Returns True every n_steps, for use as *_at functions in various places.
Returns True every n_steps for use as * _at functions in various places .
def every(n_steps):
  """Returns True every n_steps, for use as *_at functions in various places."""
  return lambda step: step % n_steps == 0
def every ( n_steps ) : return lambda step : step % n_steps == 0