code: func (pm *ManagerImpl) GetPolicy(id string) (Policy, bool) {
  	if id == "" {
  		logger.Errorf("Returning dummy reject all policy because no policy ID supplied")
  		return rejectPolicy(id), false
  	}
  	var relpath string
  
  	if strings.HasPrefix(id, PathSeparator) {
  		if !strings.HasPrefix(id, PathSeparator+pm.path) {
  			logger.Debugf("Requested absolute policy %s from %s, returning rejectAll", id, pm.path)
  			return rejectPolicy(id), false
  		}
  		// strip off the leading slash, the path, and the trailing slash
  		relpath = id[1+len(pm.path)+1:]
  	} else {
  		relpath = id
  	}
  
  	policy, ok := pm.policies[relpath]
  	if !ok {
  		logger.Debugf("Returning dummy reject all policy because %s could not be found in %s/%s", id, pm.path, relpath)
  		return rejectPolicy(relpath), false
  	}
  
  	return &policyLogger{
  		policy:     policy,
  		policyName: PathSeparator + pm.path + PathSeparator + relpath,
  	}, true
  }
docs: // GetPolicy returns a policy and true if it was the policy requested, or false if it is the default reject policy