from typing import Optional


def should_execute_now(step: int, step_every: Optional[int]) -> bool:
  """Returns true every step_every steps."""
  if not step_every:
    return False
  return step % step_every == 0