input: Write a function to create a class that represents a bank account in Python with methods for initializing the account, depositing money, withdrawing money, and checking the balance. If the withdrawal amount is greater than the balance, it should return False. If the withdrawal is successful, it should return True.
  
  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("David", 0).withdraw(100)==False
  assert BankAccount("Eve", 3000).get_balance()==3000
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