input: from typing import List
  from itertools import pairwise
  
  def check_array_parity(nums: List[int]) -> bool:
      """
      An array is termed special if all adjacent pairs of its elements consist of one even and one odd number.
  
      Given an array of integers nums, return true if the nums array meets the special criteria, otherwise, return false.
  
      Examples:
      >>> nums = [3]
      true
      >>> nums = [5,8,3]
      true
  
      Constraints:
      1 <= len(nums) <= 100
      1 <= nums[i] <= 100
      """
output:     
      if len(nums) == 1:
          return True
  
      for a, b in pairwise(nums):
          if (a % 2 == 0 and b % 2 == 0) or (a % 2 != 0 and b % 2 != 0):
              return False
  
      return True
  