input: Write a function to create a class called BankAccount in Python that represents a bank account with attributes for account name and balance, and methods for depositing, withdrawing, and retrieving the balance. If the account balance is insufficient for a withdrawal, return False.
  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", 1000).withdraw(500)==True
  assert BankAccount("Bob", 500).withdraw(1000)==False
  assert BankAccount("Charlie", 2000).deposit(500).get_balance()==2500
  assert BankAccount("Dave", 0).withdraw(100)==False
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