public static function every (array $sequence, $predicate)
    {
        foreach ($sequence as $element) {
            if (!call_user_func($predicate, $element)) {
                return false;
            }
        }
        return true;
    }