something like `... and hasattr(docker, '__version__') and docker.__version__ > '0.3.0'`?