def _is_in_additional_paths(self, path: Text) -> bool:
    included = (path in self._additional_paths)
    if ((not included) and os.path.isfile(path)):
        parent_directory = os.path.abspath(os.path.dirname(path))
        included = (parent_directory in self._additional_paths)
    return included
def _is_in_additional_paths(self, path: Text) -> bool:
    included = (path in self._additional_paths)
    if ((not included) and os.path.isfile(path)):
        parent_directory = os.path.abspath(os.path.dirname(path))
        included = (parent_directory in self._additional_paths)
    return included