input: Write a function to create a class named `BankAccount` which represents a bank account in Python. The class should have an initializer method `__init__` to set the account holder's name and initial balance. It should also include methods to deposit money into the account, withdraw money from the account (if there is enough balance), and retrieve the current balance. If the withdrawal amount exceeds the balance, the method should 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).get_balance() == 1000
  account = BankAccount("Bob", 1500)
  account.deposit(500)
  assert account.get_balance() == 2000
  assert account.withdraw(2500) == False
  assert account.withdraw(1000) == True
  assert account.get_balance() == 1000
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