public static boolean isAdmin() {
        return AdminConstants.ADMIN_NAME.equals(visitorName());
    }
current user is admin.

@return boolean
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/SessionUtil.java