src/vs/workbench/contrib/scm/browser/util.ts/isSCMResource
export function isSCMResource(element: any): element is ISCMResource {
	return !!(element as ISCMResource).sourceUri && isSCMResourceGroup((element as ISCMResource).resourceGroup);
}