code: private boolean findBinding(Injector injector, Class<?> type) {
          boolean found = false;
          for (Key<?> key : injector.getBindings().keySet()) {
              if (key.getTypeLiteral().getRawType().equals(type)) {
                  found = true;
                  break;
              }
          }
          if (!found && injector.getParent() != null) {
              return findBinding(injector.getParent(), type);
          }
  
          return found;
      }
docs: Finds binding for a type in the given injector and, if not found,
  recurses to its parent
  
  @param injector
  the current Injector
  @param type
  the Class representing the type
  @return A boolean flag, <code>true</code> if binding found