code: public ChemComp getParent(ChemComp c){
  
  		if (c.hasParent()){
  			return dictionary.get(c.getMon_nstd_parent_comp_id());
  		}
  		return null;
  	}
docs: Get the parent of a component. If component has no parent, return null
  
  @param c
  @return get the parent component or null if ChemComp has no parent.