It depends on context. The legal test is called the "Imminent Lawless Action" Test in the US.
https://en.wikipedia.org/wiki/Brandenburg_v._Ohio#Brandenbur...