feat(gen): add hasFilter function
feat(gen): add hasFilter function

Changes:
- add hasFilter(filter) to generator base, for easier conditionals in templates

JesusisFreedom/generator-ng-webpack,DaftMonk/generator-ng-component,gdumitrescu/generator-ng-component,tatsuroro/generator-ng-component-cabuki,ennosol/generator-ng-component,MillerRen/generator-ng-component,JesusisFreedom/generator-ng-webpack,dezynetechnologies/generator-ng-component,DaftMonk/generator-ng-component,MillerRen/generator-angularjs-component,tatsuroro/generator-ng-component-cabuki,MillerRen/generator-angularjs-component,kingcody/generator-ng-component,gdumitrescu/generator-ng-component,ennosol/generator-ng-component,kingcody/generator-ng-component,dezynetechnologies/generator-ng-component,francois-roland/generator-ngcomp,francois-roland/generator-ngcomp,MillerRen/generator-ng-component