https://medium.com/@iamcesaraguirre/the-power-of-function-composition-to-find-if-an-array-is-special-e9c9fdf5e231