validates if tags is empty