Make existence checks a function call