public static function doesComponentExist(string $addonComponentIdentifier): bool
    {
        $component = self::getComponentWithIdentifier($addonComponentIdentifier);
        return (!empty($component));
    }
public static function doesComponentExist(string $addonComponentIdentifier): bool
    {
        $component = self::getComponentWithIdentifier($addonComponentIdentifier);
        return (!empty($component));
    }
public static function doesComponentExist ( string $ addonComponentIdentifier ) : bool { $ component = self :: getComponentWithIdentifier ( $ addonComponentIdentifier ) ; return ( ! empty ( $ component ) ) ; }
Check if an addon exists having a component with the given identifier.

@param string $addonComponentIdentifier
Identifier of the component to check for.

@return boolean Whether an addon exists having a component with the given identifier.
Check if an addon exists having a component with the given identifier .