fail early in has if passed null object