<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resolve_dep_from_path(self, depname):
 """ If we can find the dep in the PATH, then we consider it to be a system dependency that we should not bundle in the package """

        if is_system_dep(depname):
            return True

        for d in self._path:
            name = os.path.join(d, depname)
            if os.path.exists(name):
                return True

        return False