public function has(string $name) : bool
    {
        if (Arr::keyExists($this->registry, $name)) {
            return true;
        } else {
            return false;
        }
    }
public function has(string $name) : bool
    {
        if (Arr::keyExists($this->registry, $name)) {
            return true;
        } else {
            return false;
        }
    }
public function has ( string $ name ) : bool { if ( Arr :: keyExists ( $ this -> registry , $ name ) ) { return true ; } else { return false ; } }
Checks if an object with this name is in the registry.

@param  string $name The name of the registry item to check for existence.
@return bool
Checks if an object with this name is in the registry .