Checking if NOT empty for python imports.
Merge pull request #72 from DeepInside/master

Checking if NOT empty for python imports.