app/maguttiCms/Admin/Helpers/AdminListAction.php
/**
     * check if the model list
     * has an action
     * @return bool
     */
check if the model list
has an action
@return bool
check if the model list has an action @return bool
function hasActions()
    {
        return collect($this->action_list)->some(function ($value) {
            return data_get($this->property['actions'], $value,'');
        });
    }
function hasActions ( ) { return collect ( $ this -> action_list ) -> some ( function ( $ value ) { return data_get ( $ this -> property [ 'actions' ] , $ value , '' ) ; } ) ; }
check if the model list
 has an action
 @return bool
check if the model list has an action @return bool