Neighboring Bitwise XOR

A binary array derived was produced from a hidden binary array original where each element of derived equals the XOR of adjacent elements in original, with the last element wrapping around to the first. Determine whether such an original array exists.

Examples
Input: [1,1,0]
Output: true
Hints

Neighboring Bitwise XOR

A binary array `derived` was produced from a hidden binary array `original` where each element of `derived` equals the XOR of adjacent elements in `original`, with the last element wrapping around to the first. Determine whether such an `original` array exists.