/**
  * @param int $form_id
  * @param Gravity_Flow_Step $current_step
  * @param array $steps
  *
  * @return bool|Gravity_Flow_Step
  */
 public function get_next_step_in_list($form, $current_step, $entry, $steps = array())
 {
     $form_id = absint($form['id']);
     if (empty($steps)) {
         $steps = $this->get_steps($form_id, $entry);
     }
     $current_step_id = $current_step->get_id();
     $next_step = false;
     foreach ($steps as $step) {
         if ($next_step) {
             if ($step->is_active() && $step->is_condition_met($form)) {
                 return $step;
             }
         }
         if ($next_step == false && $current_step_id == $step->get_id()) {
             $next_step = true;
         }
     }
     return false;
 }