input: Write a function to create a class called `BankAccount` in Python that represents a bank account. The class should have an `__init__` method to initialize the account with a `name` and `balance`, a `deposit` method to add money to the account, a `withdraw` method to subtract money from the account if the balance is sufficient, and a `get_balance` method to return the current balance.
  
  
  assert BankAccount("John Doe", 1000).get_balance() == 1000
  assert BankAccount("Jane Smith", 500).deposit(200).get_balance() == 700
  assert BankAccount("Alice Johnson", 300).withdraw(300) == True
  assert BankAccount("Bob Brown", 200).withdraw(300) == False
  assert BankAccount("Charlie Davis", 250).deposit(250).withdraw(100).get_balance() == 400
  
output: class BankAccount:
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
  
      def deposit(self, amount):
          self.balance += amount
          return self
  
      def withdraw(self, amount):
          if self.balance >= amount:
              self.balance -= amount
              return True
          return False
  
      def get_balance(self):
          return self.balance