code: public boolean isOpen(String pn, String target) {
          return isOpen(pn)
              || opens.containsKey(pn) && opens.get(pn).contains(target);
      }
docs: Tests if the package of the given name is open to the target
  in a qualified fashion.