function isMixed(declarations) {
            const contains = {}

            for (const declaration of declarations) {
                const type = getDeclarationType(declaration.init)

                contains[type] = true
            }

            return Boolean(
                contains[DECL_REQUIRE] &&
                    (contains[DECL_UNINITIALIZED] || contains[DECL_OTHER])
            )
        }
Check if the list of variable declarations is mixed, i.e. whether it
contains both require and other declarations.
@param {ASTNode} declarations The list of VariableDeclarators.
@returns {boolean} True if the declarations are mixed, false if not.