use hasattr as recommended
use hasattr as recommended

Deepomatic/DIGITS,ethantang95/DIGITS-GAN,ethantang95/DIGITS,gheinrich/DIGITS-GAN,ethantang95/DIGITS-GAN,ethantang95/DIGITS-GAN,Deepomatic/DIGITS,ethantang95/DIGITS,gheinrich/DIGITS-GAN,gheinrich/DIGITS-GAN,ethantang95/DIGITS,Deepomatic/DIGITS,ethantang95/DIGITS,ethantang95/DIGITS-GAN,gheinrich/DIGITS-GAN,Deepomatic/DIGITS