input: 
  def is_prime(n: int) -> bool:
      """Check if the given number is a prime number by dividing it by all numbers from 2 to n-1."""
      for i in range(2, n):
          if n % i == 0:
              return False
      return True
  
  def check_lst(lst: List[int]) -> List[bool]:
      """Generate a list of booleans where each element corresponds to the prime status of the respective element in the input list."""
      result_lst = []
      for i in range(len(lst)):
          if is_prime(lst[i]):
              result_lst.append(True)
          else:
              result_lst.append(False)
      return result_lst
  
  # Example usage:
  lst = [7, 8, 12, 19, 22, 23]
  print(check_lst(lst))  # Output: [True, False, False, True, False, True]
  
output:     result_lst = []
      for num in lst:
          if is_prime(num):
              result_lst.append(True)
          else:
              result_lst.append(False)
      return result_lst