Description: Conditions for a function to be an indicator function. (Contributed by Thierry Arnoux, 18-Jan-2026)