SYNC-277: create isFinal state method
Merge pull request #6 from lluismf/SYNC-277

SYNC-277: Create SyncUtil.isFinalState(state) method