Add topology validation
Merge pull request #67 from pmerienne/mandatory_is

InputStream must be optional