code: public boolean hasSeenBefore(ResolvedType resolvedType) {
      return seenTypes.contains(resolvedType)
          || seenTypes.contains(new TypeResolver().resolve(resolvedType.getErasedType()))
          || parentHasSeenBefore(resolvedType);
    }
docs: Answers the question, has the given type been processed?
  
  @param resolvedType - type to check
  @return true or false