Randomly occurring leader-following consensus criterion for multi-agent systems with communication delay