public boolean hasSourceNode(Value v){
  return v instanceof Resource && sourceNodes.contains((Resource)v);
}

public boolean hasSourceNode ( Value v ) { return v instanceof Resource && sourceNodes . contains ( ( Resource ) v ) ; }
return whether a particular node was responsible for making any inference in any step of the derivation .
