def handle_entity_status(input_li, dv_li):
  """Handles DV360 entity status field by applying changes from the input_li to the dv_li

  Args:
    input_li: object representing the input line item from the input data
    dv_li: object representing the DV360 line item
  Returns: List of strings representing the fields to patch
  """
  if 'Active' in input_li:
    if input_li['Active'] != '':
      dv_li['entityStatus'] = 'ENTITY_STATUS_ACTIVE' if input_li[
          'Active'] == 'TRUE' else 'ENTITY_STATUS_PAUSED'
      return ['entityStatus']

  return []