Use staticmethod to test if xml content has default value