def dist_is_editable(dist):<EOL>
for path_item in sys.path:<EOL><INDENT>egg_link = os.path.join(path_item, dist.project_name + '<STR_LIT>')<EOL>if os.path.isfile(egg_link):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Return True if given Distribution is an editable install.