code: def _shares_exec_prefix(basedir):
      ''' Whether a give base directory is on the system exex prefix
  
      '''
      import sys
      prefix = sys.exec_prefix
      return (prefix is not None and basedir.startswith(prefix)f _shares_exec_prefix(basedir):
      ''' Whether a give base directory is on the system exex prefix
  
      '''
      import sys
      prefix = sys.exec_prefix
      return (prefix is not None and basedir.startswith(prefix))
docs: Whether a give base directory is on the system exex prefix