public function canResolve(string $name): bool
    {
        return $this->isRegistered($name) || class_exists($name) || is_callable($name);
    }
public function canResolve(string $name): bool
    {
        return $this->isRegistered($name) || class_exists($name) || is_callable($name);
    }
public function canResolve ( string $ name ) : bool { return $ this -> isRegistered ( $ name ) || class_exists ( $ name ) || is_callable ( $ name ) ; }
Returns true if name can be resolved

@param *string $name

@return bool
Returns true if name can be resolved