public function is_visible() { return !$this->is_hidden() && ($this->has_body() || $this->has_dependencies()); }