Checks if a child-node exists.

@param string $name

@return bool
341748
public function childExists($name)
    {
        $obj = $this->caldavBackend->getCalendarObject($this->calendarInfo['id'], $name);
        if (!$obj) {
            return false;
        } else {
            return true;
        }
    }
193121
public function childExists($name)
    {
        if ('.' == $name || '..' == $name) {
            throw new DAV\Exception\Forbidden('Permission denied to . and ..');
        }
        $path = $this->path.'/'.$name;

        return file_exists($path);
    }
49507
public function mbox_exists($name){
    if ( $this->is_connected() && !empty($name) ){
      $names = $this->get_all_names_mboxes();
      if ( !empty($names) && \in_array($name, $names) ){
        return true;
      }
    }
    return false;
  }
701242
public function findNode(string $name): ?Node
    {
        foreach ($this->nodes as $node) {
            if ($node instanceof self && !empty($node->name)) {
                if ($node->name === $name) {
                    return $node;
                }

                if ($found = $node->findNode($name)) {
                    return $found;
                }
            }
        }

        return null;
    }
1103484
protected function tableExists($name)
    {
        // We only should check each table once.
        if (isset($this->tables[$name])) {
            return true;
        }

        if ($this->app['db']->getSchemaManager()->tablesExist([$name]) === true) {
            return $this->tables[$name] = true;
        }

        return false;
    }
167097
public function has(string $name): bool
    {
        foreach ($this->elements as $element) {
            if ($element instanceof NamedInterface && $element->getName() == $name) {
                return true;
            }
        }

        return false;
    }
962369
public static function exists($name) {
		$application = Application::get();

		if (!in_array($name, self::$definable_hooks)) {
			return false;
		}

		if (file_exists($application->path . '/config/Hook.php')) {
			require_once $application->path . '/config/Hook.php';
			$classname = 'Hook_' . ucfirst($application->name);

			if (method_exists($classname, $name)) {
				return true;
			}
		}

		return false;
	}
818713
public function routeExists(string $name): bool
    {
        return null !== $this->router->getRouteCollection()->get($name);
    }
530019
public function has($name)
    {
        $names = is_array($name) ? $name : func_get_args();

        foreach ($names as $value) {
            if (! $this->routes->hasNamedRoute($value)) {
                return false;
            }
        }

        return true;
    }
981094
public function hasRole($name)
    {
        foreach ($this->roles as $role)
        {
            if ($role->name == $name) return true;
        }
        return false;
    }
528312
protected function exists($name): bool
    {
        return
            isset($this->___data___[$name]) ||
            \array_key_exists($name, $this->___data___);
    }
741935
public static function has($name)
    {
        $result = ProcessManager::getInstance()->getRpcCall(ClusterProcess::class)->searchActor($name);
        if ($result) {
            return true;
        } else {
            return false;
        }
    }
1226528
public function has($name)
    {
        if (! isset($this->instances[$name])) {
            return isset($this->registry[$name]);
        }

        return true;
    }
127786
public function offsetExists($name)
    {
        if (is_int($name)) {
            return parent::offsetExists($name);
        }

        $name = strtoupper($name);

        foreach ($this->parameters as $parameter) {
            if ($parameter->name == $name) {
                return true;
            }
        }

        return false;
    }
893392
public function hasAttr(string $name): bool {
        return (bool)$this->collection()->reduce(function($carry, $node) use ($name) {
            if ($node->hasAttribute($name)) {
                return true;
            }

            return $carry;
        }, false);
    }
825883
public function has($name)
    {
        foreach ($this->containers as $container) {
            if ($container->has($name)) {
                return true;
            }
        }

        return false;
    }
1102051
public function hasTag(string $name): bool
    {
        /** @var Tag $tag */
        foreach ($this->getTags() as $tag) {
            if ($tag->getName() === $name) {
                return true;
            }
        }

        return false;
    }