Identifying bubbles with absolute certainty may be impossible, but identifying them with a reasonable amount of confidence is possible. They follow similar paths.
I think the original quote is "The stock market has forecast nine of the last five recessions." 1966 https://en.wikiquote.org/wiki/Paul_Samuelson But the idea probably applies to most predictions :)