Make isShared, is_shared, and is_global inline