Add defined
Fix doc
Merge pull request #902 from andre-nunes/issue893

Add defined()