This is a basic module that provides an extention to Ruby and Puppet Code with the Ruby on Rails method .blank?
blank?() public An object is blank if itβs false, empty, or a whitespace string. For example, false, β, β β, nil, [], and {} are all blank.
This simplifies
!address || address.empty? to
address.blank? @return [true, false]