Add isEmpty to general collection ops