src/vs/editor/common/cursor/cursor.ts/CommandExecutor/_arrayIsEmpty
class CommandExecutor:	private static _arrayIsEmpty(commands: (editorCommon.ICommand | null)[]): boolean {
		for (let i = 0, len = commands.length; i < len; i++) {
			if (commands[i]) {
				return false;
			}
		}
		return true;
	}