The characteristic function of set returns True if its argument is an element of the set and False otherwise.