docstr: Check if the given phone number is valid based on regex pattern.
  
  Args:
      phone_number (str): phone number to be checked.
  
  Returns (bool): True if the phone number is valid, otherwise False.
code: def _is_valid_phone_number(phone_number) -> bool:
      """Check if the given phone number is valid based on regex pattern.
  
      Args:
          phone_number (str): phone number to be checked.
  
      Returns (bool): True if the phone number is valid, otherwise False.
      """
  
      pattern = (
          r"\b(?:\+?\d{1,3}[- ]?)?\(?\d{3}\)?[- ]?\d{3}[- ]?\d{4}\b"
      )
      return re.search(pattern, phone_number) is not None
  
file_path: pandas-ai/pandasai/helpers/anonymizer.py
imports: import random
  import re
  import string
  import pandas
label_desc: Use image node_id 2 for calling the Anonymizer obj's underlying member method code with example usage: obj._is_valid_phone_number(phone_number) and returns: unknown