code: @Trivial
      public boolean isProviderResource(String resourceName) {
          Collection<String> useResourceNames = getResourceNames();
          if ( useResourceNames.contains(resourceName) ) {
              return true;
          }
  
          // If the resource name already has a leading slash, there
          // is no additional testing to do.  Do NOT test again by
          // removing a leading slash. Annotation processing will remove
          // a leading slass, but will never add a leading slash.
  
          // The resource name is expected to be the name of a class resource,
          // which should never be empty.  However, let's double check,
          // and avoid any possible IndexOutOfBounds exception.
  
          if ( resourceName.length() == 0)  {
              return false;
          } else if ( resourceName.charAt(0) == '/' ) {
              return false;
          }
  
          return useResourceNames.contains("/" + resourceName);
      }
docs: <p>Tell if the provider contains a resource.</p>
  
  <p>If provided a resource name which does not have a leading slash,
  test with the leading slash added.</p>
  
  <p>We expect the collection of resource names to never have
  the resource name with and without a leading slash both as members.</p>
  
  @param resourceName The name to test against the provider's resource names.
  
  @return True or false telling if the provider contains the named resource.