input: Write a function to determine if the given string `s` has matching parentheses, meaning every opening parenthesis `(` has a corresponding closing parenthesis `)`. If the parentheses are correctly matched, return `True`; otherwise, return `False`. If the string is empty, return `True`.
  
  assert matching_paren("(ah(deep)fun)")==True
  assert matching_paren("hello(world)")==True
  assert matching_paren("(((()")==False
  assert matching_paren(")(())(")==False
  assert matching_paren("((()))(()")==False
  assert matching_paren("")==True
output: def matching_paren(s):
      count = 0
      for char in s:
          if char == '(':
              count += 1
          elif char == ')':
              count -= 1
          if count < 0:
              return False
      return count == 0