def is_imported(self, path: Text) -> bool:
    '\n        Checks whether a path is imported by a skill.\n        Args:\n            path: File or directory path which should be checked.\n\n        Returns:\n            `True` if path is imported by a skill, `False` if not.\n        '
    absolute_path = os.path.abspath(path)
    return (self.no_skills_selected() or self._is_in_project_directory(absolute_path) or self._is_in_additional_paths(absolute_path) or self._is_in_imported_paths(absolute_path))
Checks whether a path is imported by a skill.
Args:
    path: File or directory path which should be checked.

Returns:
    `True` if path is imported by a skill, `False` if not.
def is_imported(self, path: Text) -> bool:
    '\n        Checks whether a path is imported by a skill.\n        Args:\n            path: File or directory path which should be checked.\n\n        Returns:\n            `True` if path is imported by a skill, `False` if not.\n        '
    absolute_path = os.path.abspath(path)
    return (self.no_skills_selected() or self._is_in_project_directory(absolute_path) or self._is_in_additional_paths(absolute_path) or self._is_in_imported_paths(absolute_path))