public function contains($targetName)
    {
        if (InstallTarget::DEFAULT_TARGET === $targetName) {
            return null !== $this->defaultTarget;
        }

        return isset($this->targets[$targetName]);
    }