Add check hash method in Plugin class

- [x] Add isHash method
- [x] test with alert plugin