Why?  Sed won't complain if the substitution fails to substitute anything.