Simplify null checks with PHP 5.3 syntax
Merge pull request #308 from wmde/isOptional

Simplify null checks with PHP 5.3 syntax