input: Write a function to create a class representing a bank account in Python. The class should have an initializer to set the account holder's name and initial balance, and methods to deposit, withdraw, and check the balance. If a withdrawal is attempted but there are insufficient funds, the method should return False. If the withdrawal is successful, it should return True.
  
  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("Alice", 500).withdraw(600)==False
  assert BankAccount("Bob", 500).deposit(200).get_balance()==700
  assert BankAccount("Charlie", 1000).withdraw(100).get_balance()==900
  assert BankAccount("David", 0).deposit(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