code: def in_project_scope(self, filename):
          '''
          Note: in general this method should not be used (apply_files_filter should be used
          in most cases as it also handles the project scope check).
          '''
          try:
              return self._in_project_scope_cache[filename]
          except KeyError:
              cache = self._in_project_scope_cache
              abs_real_path_and_basename = get_abs_path_real_path_and_base_from_file(filename)
              # pydevd files are never considered to be in the project scope.
              if self.get_file_type(abs_real_path_and_basename) == self.PYDEV_FILE:
                  cache[filename] = False
              else:
                  cache[filename] = self._files_filtering.in_project_roots(filename)
  
              return cache[filenamef in_project_scope(self, filename):
          '''
          Note: in general this method should not be used (apply_files_filter should be used
          in most cases as it also handles the project scope check).
          '''
          try:
              return self._in_project_scope_cache[filename]
          except KeyError:
              cache = self._in_project_scope_cache
              abs_real_path_and_basename = get_abs_path_real_path_and_base_from_file(filename)
              # pydevd files are never considered to be in the project scope.
              if self.get_file_type(abs_real_path_and_basename) == self.PYDEV_FILE:
                  cache[filename] = False
              else:
                  cache[filename] = self._files_filtering.in_project_roots(filename)
  
              return cache[filename]
docs: Note: in general this method should not be used (apply_files_filter should be used
          in most cases as it also handles the project scope check).