function isElectron() {
	return (
		// Check for a `process` global variable:
		typeof proc === 'object' &&

		// Check that the `process` global variable has the expected internal class:
		nativeClass( proc ) === '[object process]' &&

		// Check for a `versions` property:
		isObject( proc.versions ) &&

		// Check for an `electron` property:
		isString( proc.versions.electron ) &&

		// Check for a `chrome` property:
		isString( proc.versions.chrome ) &&

		// Check for a `type` property:
		(
			proc.type === 'browser' ||
			proc.type === 'renderer'
		)
	);
}
Returns a boolean indicating if the runtime is Electron.

@returns {boolean} boolean indicating if runtime is Electron

@example
var bool = isElectron();
// returns <boolean>