```
  return result == ALLOW_ONCE || 
         result == ALLOW_SESSION || 
         result == ALLOW_ALWAYS;
```