code: public boolean requireFirstTime(Attribute attribute) {
          if (!attribute.isJavaBaseClass()) {
              return ImportsContext.getCurrentImportsHolder().add(attribute.getFullType());
          }
          return false;
      }
docs: Import the passed attribute type.
  
  @return true if the passed attribute type is imported for the first time.