making isObject not accept null, is exists needs to not just catch null