check a post whether it is empty