introduce hasAnyPermission method