used proper function for checking CMB meta box