export const ADMIN_ROLE = "Admin"; export const isAdminRole = (roles?: string[] | null): boolean => !!roles?.includes(ADMIN_ROLE);