src/vs/workbench/contrib/scm/browser/util.ts/isSCMInput
export function isSCMInput(element: any): element is ISCMInput {
	return !!(element as ISCMInput).validateInput && typeof (element as ISCMInput).value === 'string';
}