Added more complete implementation of contains that scans the cluster and runs.