added parameter validation for __contains__ run on empty dictionary