public static function all(array $array, callable $predicate)
    {
        foreach ($array as $key => $value) {
            if (! $predicate($value, $key, $array)) {
                return false;
            }
        }

        return true;
    }