has_package


Description:

public bool has_package (string pkg)

Returns whether the specified package is being used.

Parameters:

pkg

a package name

Returns:

true if the specified package is being used