code: public boolean isExported() {
      boolean defaultValue = !intentFilters.isEmpty();
      return (attributes.containsKey(EXPORTED)
          ? Boolean.parseBoolean(attributes.get(EXPORTED))
          : defaultValue);
    }
docs: Returns whether this service is exported by checking the XML attribute.
  
  @return true if the service is exported