input: from typing import List
  
  def is_prime(n: int) -> bool:
      """ Check if a given number is a prime number.
      >>> is_prime(7)
      True
      >>> is_prime(8)
      False
      """
      if n <= 1:
          return False
      for i in range(2, n):
          if n % i == 0:
              return False
      return True
  
  def check_lst(lst: List[int]) -> List[bool]:
      """ Takes a list of integers and returns a list of booleans where each element of the output list is `True` if the corresponding element in the input list is a prime number, and `False` otherwise.
      >>> check_lst([7, 8, 12, 19, 22, 23])
      [True, False, False, True, False, True]
      """
      result_lst = []
      for num in lst:
          result_lst.append(is_prime(num))
      return result_lst
output:     result_lst = []
      for num in lst:
          result_lst.append(is_prime(num))
      return result_lst