function canBeParsed(expression) {
    try {
        parse(expression)
        return true
    } catch (error) {
        return false
    }
}
Determines whether a given expression can be successfully parsed.

@param {string} expression - The expression to parse.
@returns {boolean} True if the expression can be parsed, false otherwise.