input: Write a class to represent a bank account in Python with methods for initializing the account, depositing money, withdrawing money, and retrieving the balance. Ensure that the withdraw method checks if the account has sufficient funds before deducting the amount requested. Provide an example of how to use the class.
  
  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
  
  # Example usage:
  account = BankAccount("Alice", 1000)
  account.deposit(500)
  assert account.get_balance() == 1500
  account.withdraw(200)
  assert account.get_balance() == 1300
  assert account.withdraw(1500) == False
  assert account.get_balance() == 1300
output: 
  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
  