def include_server?(server)
      return false if (opts[:state] && server.state.name != opts[:state]) ||
                      (opts[:type] && server.instance_type != opts[:type]) ||
                      (opts[:zone] && server.placement.availability_zone != opts[:zone]) ||
                      (server.state.name == 'terminated' && !include_terminated?)

      true
    end
def include_server?(server)
      return false if (opts[:state] && server.state.name != opts[:state]) ||
                      (opts[:type] && server.instance_type != opts[:type]) ||
                      (opts[:zone] && server.placement.availability_zone != opts[:zone]) ||
                      (server.state.name == 'terminated' && !include_terminated?)

      true
    end
rubocop:disable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity