fix typo
Default attributes to generate master key
pyobject to bool function