remove an analysis warning

Move `isSyncResource()` to Project. Make workspace `isSyncResource` private (`_ isSyncResource`) so that it doesn't conflict with the no-arg method with the same name.

@dinhviethoa