input: Write a function to demonstrate the basic functionality of a bank account class in Python. If the given account has sufficient balance, allow a withdrawal if the amount is less than or equal to the balance. Otherwise, return False. If the given account is empty then return True.
  
  assert bank_account_functionality("John", 1000, 500)==True
  assert bank_account_functionality("Alice", 1500, 2000)==False
  assert bank_account_functionality("Bob", 750, 750)==True
  assert bank_account_functionality("", 0, 0)==True
output: def bank_account_functionality(name, balance, amount):
      if balance == 0:
          return True
      if amount <= balance:
          return True
      return False