input: Write a function to create a class representing a bank account in Python. The class should have methods to initialize the account with a name and balance, deposit money, withdraw money (only if the balance is sufficient), and check 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", 1000).get_balance() == 1000
  assert BankAccount("Bob", 500).withdraw(600) == False
  assert BankAccount("Charlie", 200).deposit(300).get_balance() == 500
  assert BankAccount("Dave", 300).withdraw(200).get_balance() == 100
  assert BankAccount("Eve", 100).withdraw(100).get_balance() == 0
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 self
          else:
              return False
          
      def get_balance(self):
          return self.balance
  