static boolean isSet(){
  PolicyInfo pi=policy.get();
  return pi.policy != null && pi.initialized == true;
}

static boolean isSet ( ) { PolicyInfo pi = policy . get ( ) ; return pi . policy != null && pi . initialized == true ; }
package private for accesscontrolcontext and protectiondomain
