/*
Public: has Articles Hidden from Robots
343727
public function hasArticlesHiddenFromRobots()
    {
        $app = App::getInstance();

        $sql = $app['safesql']->query(
            "SELECT
    COUNT(article_author.article)
    FROM `article_author`
    INNER JOIN `article`
    ON article_author.article = article.id
    WHERE article_author.`author` = '%s'
    AND article.deleted = 0
    AND article_author.deleted = 0
    AND searchable = 0",
            array(
                $this->getUser())
            );
        $result = $app['db']->get_var($sql);
        return ($result > 0 ? true: false);
    }
1233949
public function hasArticlesWithDownloadableAgreement()
    {
        $blHasArticlesWithIntangibleAgreement = false;

        /** @var \OxidEsales\Eshop\Application\Model\BasketItem $oBasketItem */
        foreach ($this->_aBasketContents as $oBasketItem) {
            if ($oBasketItem->getArticle(false) && $oBasketItem->getArticle(false)->hasDownloadableAgreement()) {
                $blHasArticlesWithIntangibleAgreement = true;
                break;
            }
        }

        return $blHasArticlesWithIntangibleAgreement;
    }
649023
public function hasVisibleSubCats()
    {
        if ($this->_blHasVisibleSubCats === null) {
            $this->_blHasVisibleSubCats = false;
            if ($activeCategory = $this->getActiveCategory()) {
                $this->_blHasVisibleSubCats = $activeCategory->getHasVisibleSubCats();
            }
        }

        return $this->_blHasVisibleSubCats;
    }
164944
function() {
        this.fireEvent('hiding');

        var count = this.count - 1;

        if (count <= 0) {
            this.count = 0;
            this.element.conceal();
        } else {
            this.count = count;
        }

        this.hideLoader();

        this.fireEvent('hidden', [(count <= 0)]);
    }
1201933
public void hideRerouteState() {
    if (rerouteLayout.getVisibility() == VISIBLE) {
      rerouteLayout.startAnimation(rerouteSlideUpTop);
      rerouteLayout.setVisibility(INVISIBLE);
    }
  }
633182
protected function determineWhatShouldBePublished()
    {
        if ($this->option('all')) {
            return;
        }

        list($this->provider, $this->tags) = [
            $this->option('provider'),
            (array) $this->option('tag')
        ];

        if (! $this->provider && ! $this->tags) {
            $this->promptForProviderOrTag();
        }
    }
1187744
public function isVisible()
    {
        if ((!is_array($this->url)) || (!$this->visible)) { // if it's not array, or not visible then just return visible value, no need to check anything
            return $this->visible;
        }
        $controller = isset($this->url[0]) ? $this->url[0] : 'home';
        $action = isset($this->url[1]) ? $this->url[1] : null;
        if (false !== strpos($controller, '/')) {
            list ($module, $controller) = explode('/', $controller, 2);
            if ('..' == $module) {
                $module = '/';
            }
        } else {
            $module = (isset($this->url[2]) && is_string($this->url[2])) ? $this->url[2] : (isset($this->url[3]) ? $this->url[3] : null);
        }
        if (\mpf\WebApp::get()->accessMap && (!\mpf\WebApp::get()->accessMap->canAccess($controller, $action, $module))) {
            return false;
        }
        return true;
    }
216691
protected function getHiddenCount()
    {
        $total = count($this->slow);
        $showing = $this->getReportLength($this->slow);

        $hidden = 0;
        if ($total > $showing) {
            $hidden = $total - $showing;
        }

        return $hidden;
    }
378388
private function skipHidden() {
    $token = $this->iterator->current();
    while ($token && $token instanceof HiddenNode) {
      $this->skipped[] = $token;
      $token = $this->iterator->next();
    }
  }
193331
def is_hidden(path):
    """"""
    for name in path.split(os.sep):
        if name != '.' and name != '..' and name and name[0] == '.':
            return True
    return False
980457
function onVisibilityChangeFactory(hidden) {
  return function onVisibilityChange(evt) {
    if (document[hidden]) {
      debug('disable while hidden');
      stop();
    } else {
      debug('enable while visible');
      if (process.env.NODE_ENV === 'development') {
        const current = now();

        for (let i = 0, n = timeoutQueue.length; i < n; i++) {
          const item = timeoutQueue[i];

          if (item.time <= current) {
            debug('timeout should trigger for "%s"', item.id);
          } else {
            const date = new Date();

            date.setMilliseconds(date.getMilliseconds() + item.time - current);
            debug('timeout for "%s" expected at %s', item.id, date.toLocaleTimeString());
          }
        }
      }
      run();
    }
  };
}
452170
function getElementsVisibility(elements) {

  var result = {};

  elements.forEach(function(e) {
    result[e.id] = e.hidden;
  });

  return result;
}
749718
function isHidden(option) {
  return option.hidden === true ||
         (option.value != null && option.value.hidden);
}
1257904
public function isVisible()
    {
        if ( ! parent::isVisible() )
        {
            return false;
        }

        if ( null === $this->_visible )
        {
            $content = $this->getParagraphModel()
                            ->find( $this->contentId );

            $this->_visible = empty( $content )
                            ? false
                            : $content->isPublished() && $content->isAccessible();
        }

        return $this->_visible;
    }
48677
public function checkPageSubjectInContent() {
        if ($this->checkPageSubjectDefined()) {
            if (preg_match('/' . preg_quote($this->owner->SEOPageSubject, '/') . '/i', $this->getPageContent())) {
                return true;
            }
            else {
                return false;
            }
        }
        return false;
    }
559241
function hide() {
			if (!tooltipIsHidden) {
				var hoverPoints = chart.hoverPoints;

				group.hide();

				each(crosshairs, function (crosshair) {
					if (crosshair) {
						crosshair.hide();
					}
				});

				// hide previous hoverPoints and set new
				if (hoverPoints) {
					each(hoverPoints, function (point) {
						point.setState();
					});
				}
				chart.hoverPoints = null;


				tooltipIsHidden = true;
			}

		}
1038196
function hiddenByOverflow(e) {
    return bot.dom.getOverflowState(e) == bot.dom.OverflowState.HIDDEN &&
        goog.array.every(e.childNodes, function(n) {
          return !bot.dom.isElement(n) || hiddenByOverflow(n) ||
                 !positiveSize(n);
        });
  }