%w(Admin Operator Seller Reseller Customer Number).each do |account_type|
    define_method("is_#{account_type.downcase}?") { is_a?(account_type.constantize) }
  end