src/vs/platform/workspace/common/workspace.ts/hasWorkspaceFileExtension
export function hasWorkspaceFileExtension(path: string | URI) {
	const ext = (typeof path === 'string') ? extname(path) : resourceExtname(path);

	return ext === WORKSPACE_SUFFIX;
}