public function findApplicableRoles()
    {
        $widget = $this->widget;
        $array = [];
        foreach ($this->availableRoles as $role) {
            if ($widget->isApplicable($role)) {
                $array[] = $role;
            }
        }
        return $array;
    }