src/ScContent/Entity/Widget.php
public function isApplicable($role)
    {
        if (isset($this->options['roles'][$role])) {
            return (bool) (int) $this->options['roles'][$role];
        }
        return true;
    }
public function isApplicable($role)
    {
        if (isset($this->options['roles'][$role])) {
            return (bool) (int) $this->options['roles'][$role];
        }
        return true;
    }
public function isApplicable ( $ role ) { if ( isset ( $ this -> options [ 'roles' ] [ $ role ] ) ) { return ( bool ) ( int ) $ this -> options [ 'roles' ] [ $ role ] ; } return true ; }
Checks whether the widget is applicable to the role.
This behavior differs from the ACL. Returns FALSE if and only if the
widget is explicitly disabled for a given role.

This is true because the widgets do not have to perform any
function other than displaying information. To change the information
are frontend and backend controllers, protected access
to them engaged ACL.

@param  string $role
@return boolean
Checks whether the widget is applicable to the role . This behavior differs from the ACL . Returns FALSE if and only if the widget is explicitly disabled for a given role .