code: public final boolean hasPermission(AccessControlList acl, String permission, Identity user)
        throws RepositoryException
     {
        return hasPermission(acl, parseStringPermissions(permission), user);
     }
docs: Has permission.
  
  @param acl
  access control list
  @param permission
  permission
  @param user
  user Identity
  @return boolean
  @throws RepositoryException