Boolean comparison causes extremely slow compilation

Another suggestion, try to make explicit the type of false in your comparison:

public override func hasItems(in: Store) -> Bool {
    guard let items = store.storage?.items else { return false }
    return items.isEmpty == Bool(false)
}

Or with (false as Bool).