def search(self, query=None, args=None):
if query is not None:<EOL><INDENT>return self._container_query(query)<EOL><DEDENT>return self._search_all()<EOL>
query a Singularity registry for a list of images. 
     If query is None, collections are listed.