detect has content way.