input: Write a function to create a class that represents a bank account in Python. The class should have an initializer to set the account holder's name and initial balance, a method to deposit money into the account, a method to withdraw money from the account if there are sufficient funds, and a method to retrieve the current balance.
  
  
  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('Alice', 500).get_balance() == 500
  assert BankAccount('Bob', 1000).withdraw(200) == True
  assert BankAccount('Charlie', 600).withdraw(700) == False
  assert BankAccount('David', 300).deposit(200).get_balance() == 500
  
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
  