Switched to using native Array.isArray method instead of Lo-Dash's implementation.