Add generic isAllow method to OSecurityHelper