src/vs/workbench/services/editor/common/editorGroupsService.ts/isEditorGroup
export function isEditorGroup(obj: unknown): obj is IEditorGroup {
	const group = obj as IEditorGroup | undefined;

	return !!group && typeof group.id === 'number' && Array.isArray(group.editors);
}