input: def create_bank_account(name: str, balance: float) -> 'BankAccount':
      """Create a bank account object for a specified name with an initial balance.
      The bank account should support operations to deposit money, withdraw money,
      and check the current balance. The withdraw operation should return True if 
      the withdrawal is successful and the balance is sufficient, otherwise it should
      return False.
      >>> account = create_bank_account("John Doe", 1000)
      >>> account.get_balance()
      1000
      >>> account.deposit(200)
      >>> account.get_balance()
      1200
      >>> account.withdraw(1500)
      False
      >>> account.withdraw(500)
      True
      >>> account.get_balance()
      700
      """
  
      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
  
      return BankAccount(name, balance)
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
  
      return BankAccount(name, balance)