/**
 * Checks if a library is enabled
 *
 * @param   string  $element  Element of the library in the extensions table.
 *
 * @return  boolean
 *
 * @since   3.2
 */
public static function isEnabled($element)
{
    return static::getLibrary($element, true)->enabled;
}