Implement "docker rmi" in python docker api : I want to have the python equivalent to below command:

    > docker rmi $(docker images -q -a)

So, remove() method is equivalent to rmi but how to about in "-q" and "-a" options.