src/mako/syringe/Container.php
public function has(string $class): bool
	{
		$class = $this->resolveAlias($class);

		return (isset($this->hints[$class]) || isset($this->instances[$class]));
	}
public function has(string $class): bool
	{
		$class = $this->resolveAlias($class);

		return (isset($this->hints[$class]) || isset($this->instances[$class]));
	}
public function has ( string $ class ) : bool { $ class = $ this -> resolveAlias ( $ class ) ; return ( isset ( $ this -> hints [ $ class ] ) || isset ( $ this -> instances [ $ class ] ) ) ; }
Returns true if the class is registered in the container false if not.

@param  string $class Class name
@return bool
Returns true if the class is registered in the container false if not .