input: Write a class named `BankAccount` to represent a bank account in Python. The class should have an initialization method that takes `name` and `balance` as parameters, and methods to deposit money, withdraw money, and get the current balance.
  
  ### Example of Use:
  
  account = BankAccount("John Doe", 1000)
  assert account.get_balance() == 1000
  account.deposit(500)
  assert account.get_balance() == 1500
  assert account.withdraw(2000) == False
  assert account.withdraw(300) == True
  assert account.get_balance() == 1200
output: class BankAccount:
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
  
      def deposit(self, amount):
          self.balance += amount
  
      def withdraw(self, amount):
          if amount > self.balance:
              return False
          self.balance -= amount
          return True
  
      def get_balance(self):
          return self.balance