added isTemplate() API
bump version 0.2.4