Optimized IsOurChild's runtime