On the topology of the boundary of a basin of attraction