code: def get_only_active_packages(packages):
          
  
          active_packages = []
  
          for package in packages:
              if package['isActive']:
                  active_packages.append(package)
  
          return active_packages
docs: Return only active packages.
  
          If a package is active, it is eligible for ordering
          This will inspect the 'isActive' property on the provided packages
  
          :param packages: Dictionary of packages, isActive key must be present