module Dry::Logic::Predicates::Methods

def empty?(input)

def empty?(input)
  case input
  when String, Array, Hash then input.empty?
  when nil then true
  else
    false
  end
end