This functionality is only available for certain module packages.

hasParameter(String name)

Delivers true if the component has a parameter with the name <name>.

hasParameter(String name)
Argument String name Name of the wanted parameter.
Return value Boolean