input: Write a function to create a class `BankAccount` in Python that represents a bank account. The class should have an initializer `__init__` that takes `name` and `balance` as parameters. It should also have methods `deposit` to add money to the account, `withdraw` to remove money from the account if sufficient balance is available, and `get_balance` to return the current balance. Ensure that the `withdraw` method returns `True` if the withdrawal is successful and `False` otherwise.
  
  
  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 self.balance >= amount:
              self.balance -= amount
              return True
          else:
              return False
          
      def get_balance(self):
          return self.balance
  
  
  
  assert BankAccount("John", 1000).get_balance() == 1000
  assert BankAccount("Jane", 0).withdraw(100) == False
  assert BankAccount("Doe", 500).withdraw(200) == True
  assert BankAccount("Alice", 300).deposit(200).get_balance() == 500
  assert BankAccount("Bob", 100).withdraw(100) == True
  
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
          else:
              return False
          
      def get_balance(self):
          return self.balance