[Refactoring] Add Declaration::isField()
Merge pull request #1706 from 9rnsr/add_isField

[trivial][Refactoring] Add Declaration::isField()