Only output result of a cms.beforeDsiplay if it has a output to return