def validate_phone(phone)
      phone_hsh = { phone_status: nil, phone: phone, phone_f: nil }
      return phone_hsh unless phone.present?
      phone = phone&.gsub(/\s/, ' ')&.strip
      reg = Regexp.new('[(]?[0-9]{3}[ ]?[)-.]?[ ]?[0-9]{3}[ ]?[-. ][ ]?[0-9]{4}')
      phone = nil if phone.first == '0' || phone.include?('(0') || !reg.match(phone)
      phone_hsh[:phone_f] = format_phone(phone) if phone.present?
      phone_hsh = check_phone_status(phone_hsh)
      phone_hsh
    end
def validate_phone(phone)
      phone_hsh = { phone_status: nil, phone: phone, phone_f: nil }
      return phone_hsh unless phone.present?
      phone = phone&.gsub(/\s/, ' ')&.strip
      reg = Regexp.new('[(]?[0-9]{3}[ ]?[)-.]?[ ]?[0-9]{3}[ ]?[-. ][ ]?[0-9]{4}')
      phone = nil if phone.first == '0' || phone.include?('(0') || !reg.match(phone)
      phone_hsh[:phone_f] = format_phone(phone) if phone.present?
      phone_hsh = check_phone_status(phone_hsh)
      phone_hsh
    end
Checks every phone number in table to verify that it meets phone criteria, then calls format_phone method to wrap Valid results.  Otherwise destroys Invalid phone fields and associations.
 Call: Wrap.new.validate_phone(phone)