from typing import Dict
from typing import Any


def _is_address_info_available(event: Dict[Any, Any]) -> bool:
  """Check if address info needs to be added to formatted event.

  Args:
    event: the raw event from data source.

  Returns:
    bool to indicate that address info is available.
  """
  keys_exist = all(k in event for k in (
      'hashedFirstName', 'hashedLastName', 'countryCode', 'zipCode'))
  if not keys_exist:
    return False
  values_exist = all((event['hashedFirstName'], event['hashedLastName'],
                      event['countryCode'], event['zipCode']))
  if not values_exist:
    return False
  return True