def print_clusters(self, names=False):
        """Print contexts."""
        clusters = self.get_clusters()
        if names:
            clusters = [cluster['name'] for cluster in clusters]
        pprint.pprint(clusters)
Print contexts.