src/extensions/PageSlicesExtension.php
public function isValidClass()
    {
        $invalidClassList = array_unique(PageSlice::config()->get('default_slices_exceptions'));
        return !in_array($this->owner->getClassName(), $invalidClassList);
    }
public function isValidClass()
    {
        $invalidClassList = array_unique(PageSlice::config()->get('default_slices_exceptions'));
        return !in_array($this->owner->getClassName(), $invalidClassList);
    }
public function isValidClass ( ) { $ invalidClassList = array_unique ( PageSlice :: config ( ) -> get ( 'default_slices_exceptions' ) ) ; return ! in_array ( $ this -> owner -> getClassName ( ) , $ invalidClassList ) ; }
Check if the class is not in the exception list

@return bool
Check if the class is not in the exception list