Add implementation of isPublishable. Fixes #37
Merge pull request #39 from jankramer/add-publishable

Add implementation of isPublishable.