X::dump($opt->hasPermission('bbn_ide'));
// (bool) true
function($code = NULL)
{
if (bbn\Str::isUid($p = $this->getIdParent(\func_get_args()))) {
$cfg = $this->getCfg($p);
return !empty($cfg['permissions']);
}
return null;
}