let
resource_state r = (get r).built