def METHOD_NAME(state: CollectionState, player: int) -> bool:
    count = state.multiworld.treasure_hunt_count[player]
    return state.item_count('Triforce Piece', player) + state.item_count('Power Star', player) >= count