Returns whether a given name is already in use by anything that it would conflict with
for this model

@param string $name
@return bool
11774
protected function doesRelationNameConflict($name)
    {
        // relationships
        $relationships = array_merge(
            $this->data['relationships']['normal'],
            $this->data['relationships']['reverse'],
            $this->data['relationships']['image'],
            $this->data['relationships']['file'],
            $this->data['relationships']['checkbox']
        );

        if (array_key_exists($name, $relationships)) return true;

        // attributes
        $attributes = array_merge(
            $this->data->normal_attributes,
            $this->data->translated_attributes
        );

        if (in_array(snake_case($name), $attributes)) return true;

        return false;
    }
815272
private function isUniqueRouteName($name) {
        foreach ($this->routes as $route) {
            if (mb_strtolower($route->name) == mb_strtolower($name)) {
                return false;
            }
        }

        return true;
    }
992733
public function has($name)
    {
        $keys = explode('.', $name);

        $lastBranch = $this->loadConfig();
        foreach ($keys as $keyName) {
            if (isset($lastBranch[$keyName]) && (is_array($lastBranch) || is_object($lastBranch))) {
                if (is_array($lastBranch)) {
                    $lastBranch = $lastBranch[$keyName];
                } else {
                    $lastBranch = $lastBranch->$keyName;
                }
            } else {
                return false;
            }
        }

        return true;
    }
233723
public function hasText(string $name) : bool
    {
        return $this->textContentAreas->any(function (TextContentArea $contentArea) use ($name) {
            return $contentArea->name === $name;
        });
    }
198188
public function hasField(string $name) : bool
    {
        return isset($this->fields[$name]) && $this->fields[$name];
    }
1050262
public function has($name)
    {
        if (\strpos($name, '.') === false) {
            return parent::has($name);
        }

        try {
            $this->getRecursive($name);
        } catch (\Throwable $exception) {
            return false;
        }

        return true;
    }
1203209
public function hasPlaylist(string $name): bool
    {
        $playlists = $this->getPlaylists();
        foreach ($playlists as $playlist) {
            if ($playlist->getName() === $name) {
                return true;
            }
            if (strtolower($playlist->getName()) === strtolower($name)) {
                return true;
            }
        }

        return false;
    }
43240
public function hasParameter(string $name): bool {
		foreach ($this->parameters as $param) {
			if ($param->getName() == $name) {
				return true;
			}
		}

		return false;
	}
818713
public function routeExists(string $name): bool
    {
        return null !== $this->router->getRouteCollection()->get($name);
    }
1250251
public function has(string $name) : bool
    {
        try {
            $result = $this->configCommand($name);
        } catch (RuntimeException $exception) {
            return false;
        }

        return $result->isSuccessful();
    }
80003
public function isExists($name)
    {
        try {
            $this->getQueueId($name);
            $result = true;
        } catch (RuntimeException $e) {
            $result = false;
        }

        return $result;
    }
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;
    }
1112807
public function has(string $name) : bool
  {
    if (isset($this->all[$name])) return true;
    return false;
  }
405667
public function hasExtra($name)
    {
        return isset($this->extras[$name]) || array_key_exists($name, $this->extras);
    }
293882
public function has(string $name): bool
    {
        try {
            $this->dotGet($name);
        } catch (DotNotFoundException $e) {
            return false;
        }

        return true;
    }
972955
public function has($name)
    {
        $context = $this->_context;

        if (!$context->started) {
            $this->_start();
        }

        return isset($context->_SESSION[$name]);
    }
627474
protected function nameAccepted($name) {
		if ($this->nameValidator) {
			if (function_exists($this->nameValidator)) {
				$f = $this->nameValidator;
				return $f($name);
			}
			return preg_match($this->nameValidator, $name);
		}
		return true;
	}