from typing import List


def common_element(list1: List[str], list2: List[str]) -> bool:
  """
  Used in the search function to compare list of keywords to a list of properties
  Inputs:
    list1: a list of strings representing the search keywords
    list2: a list of string representing the properties of an entry
  Outputs:
    bool: True if they share a common element. Otherwise, False
  """
  for x in list1:
    for y in list2:
      if x == y:
        return True
  return False