if(DoIHaveThisData($hashref, 'key2')){ #### if (exists $hashref->{key2}) {