code: def url_is_project(url, default='not_a_func'):
      
      try:
          u = resolve(url)
          if u and u.func != default:
              return True
      except Resolver404:
          static_url = settings.STATIC_URL
          static_url_wd = static_url.lstrip('/')
          if url.startswith(static_url):
              url = url[len(static_url):]
          elif url.startswith(static_url_wd):
              url = url[len(static_url_wd):]
          else:
              return False
          if finders.find(url):
              return True
      return False
docs: Check if URL is part of the current project's URLs.
  
      Args:
          url (str): URL to check.
          default (callable): used to filter out some URLs attached to function.
  
      Returns: