private function isOrganizationManager(TokenInterface $token, User $user)
    {
        $adminOrganizations = $token->getUser()->getAdministratedOrganizations();
        $userOrganizations = $user->getOrganizations();

        foreach ($adminOrganizations as $adminOrganization) {
            foreach ($userOrganizations as $userOrganization) {
                if ($userOrganization === $adminOrganization) return true;
            }
        }

        return false;
    }