I don't really object to `isGlobalPBEnabled` and `isWindowPBEnabled` being functions but it's not really clear why not  just booleans. If such reasons exist I would love to have a comment explaining it.