public function setRenderCondition(callable $condition) { $this->render_condition_callback = $condition; return $this; }