def is_finite(self):
        """
        Whether or not the domain contains a finite number of points.

        :type: `bool`
        """
        return not np.isinf(self.min) and not np.isinf(self.max)