public static boolean allElementsAreFalse(@NonNull boolean[] array) {
        for (boolean wavesWorkingState : array) {
            if (wavesWorkingState)
                return false;
        }
        return true;
    }
Check if all array elements are false
@param array some array
@return true if all elements are equals to false
library/src/main/java/com/cleveroad/audiovisualization/Utils.java