code: def is_github_repo(self):
      if not self.is_valid():
          return False
  
      remote_info = self.get_tracking_branch_remote()
      if remote_info is None:
          return False
  
      remote, _branch = remote_info
  
      for url in remote.urls:
          if (
              re.match(GITHUB_HTTP_URL, url) is not None
              or re.match(GITHUB_SSH_URL, url) is not None
          ):
              return True
  
      return False
  
file_path: streamlit/lib/streamlit/git_util.py
imports: import os
  import re
  from typing import Any, Optional, Tuple
  from streamlit import util
label_desc: Use image node_id 10 for calling the GitRepo obj's underlying member method code with example usage: obj.is_github_repo() and returns: False, False, False, True