input: Write a function that returns 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, and get 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("John Doe", 1000).get_balance() == 1000
  assert BankAccount("Jane Smith", 500).deposit(300) == 800
  assert BankAccount("Alice Johnson", 2000).withdraw(2500) == False
  assert BankAccount("Bob Brown", 750).withdraw(500) == True
  assert BankAccount("Charlie Davis", 0).get_balance() == 0
output: 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