public boolean playerHasDependencies(ChromaResearch r, EntityPlayer ep) {
   Collection<ChromaResearch> deps = data.getParents(r);
   if (deps != null && !deps.isEmpty()) {
     for (ChromaResearch p : deps) {
       if (!this.playerHasFragment(ep, p)) {
         return false;
       }
     }
   }
   return true;
 }
 public Collection<ChromaResearch> getPreReqsFor(ChromaResearch r) {
   Collection<ChromaResearch> c = data.getParents(r);
   return c != null ? Collections.unmodifiableCollection(c) : new ArrayList();
 }