src/vs/workbench/services/remote/common/remoteExplorerService.ts/PortsAttributes/hasHostAndPort
class PortsAttributes:	private hasHostAndPort(value: number | PortRange | RegExp | HostAndPort): value is HostAndPort {
		return ((<any>value).host !== undefined) && ((<any>value).port !== undefined)
			&& isString((<any>value).host) && isNumber((<any>value).port);
	}