Wrap assert checks in isset() to prevent warnings
Code style update
Merge pull request #80 from Jarry1250/assert

Wrap assert checks in isset() to prevent warnings