# frozen_string_literal: true module VagrantPlugins module ProfitBricks module Action class IsCreated def initialize(app, _env) @app = app end def call(env) env[:result] = env[:machine].state.id != :not_created @app.call(env) end end end end end