(self)
return self._has_pkgconfig
Returns whether ``pkg-config`` is available on the current system
        and it knows about igraph or not.
Returns whether ``pkg-config`` is available on the current system
        and it knows about igraph or not.
Returns whether pkg - config is available on the current system and it knows about igraph or not .
def has_pkgconfig(self) -> bool:
        """Returns whether ``pkg-config`` is available on the current system
        and it knows about igraph or not."""
        if self._has_pkgconfig is None:
            if self.use_pkgconfig:
                _, exit_code = get_output_single_line(["pkg-config", "igraph"])
                self._has_pkgconfig = exit_code == 0
            else:
                self._has_pkgconfig = False
        return self._has_pkgconfig
def has_pkgconfig ( self ) -> bool : if self . _has_pkgconfig is None : if self . use_pkgconfig : _ , exit_code = get_output_single_line ( [ "pkg-config" , "igraph" ] ) self . _has_pkgconfig = exit_code == 0 else : self . _has_pkgconfig = False return self . _has_pkgconfig