Existence and non‐existence of global solutions for a class of non‐linear wave equations