Change to "is_array" to properly return false when multiple arrays are present
Created by: Kvikal
Problem: Function "is_array" returned true on input containing multiple arrays. According to part of "is_array_" test (was commented out before issue was fixed), this should not be happening.
Solution: Added additional check that detects the end of topmost bracket and returns false if there are characters following the end of the bracket.
Changes introduced by this pull request:
- Enabled part of "is_array_" test that was previously commented out
- Added enum "IsArrayHelper"
- Altered "is_array" function
State: ready
Other: I am not very experienced with Rust, so this might not be ideal way to implement the check for multiple brackets.