/**
 * Checks if the component is enabled
 *
 * @param   string  $option  The component option.
 *
 * @return  boolean
 *
 * @since   1.5
 */
public static function isEnabled($option)
{
    $components = static::getComponents();
    return isset($components[$option]) && $components[$option]->enabled;
}