I need it in another module (user account deletion), hence a utility function.