code: @Override
      public boolean doesConsume(Resource<ResourceType> resource) {
          boolean resourceMatches = consumption.doesConsume(resource);
          boolean originMatches = false;
          if(resourceMatches)
              originMatches = (justification == null) || justification.equals(resource.getSource());
          return resourceMatches && originMatches;
      }
docs: Does consume if the resource and the origin (if given) matches.
  
  @param resource the actual resource to be consumed
  @return boolean