code: public boolean isAccessible(Env<AttrContext> env, Type site, Symbol sym) {
          return isAccessible(env, site, sym, false);
      }
docs: Is symbol accessible as a member of given type in given environment?
  @param env    The current environment.
  @param site   The type of which the tested symbol is regarded
  as a member.
  @param sym    The symbol.