Tests whether an JavaScript AST node is likely to be a valid `require` call.