schema: add IsGlobal and associated tests