numpy.distutils.misc_util.is_local_src_dir

numpy.distutils.misc_util.is_local_src_dir(directory)
Return true if directory is local directory.