shorter checking for defined config