concrete/src/Block/Block.php
public function isBlockInStack()
    {
        $co = $this->getBlockCollectionObject();
        if (is_object($co)) {
            if ($co->getPageTypeHandle() == STACKS_PAGE_TYPE) {
                return true;
            }
        }

        return false;
    }
public function isBlockInStack()
    {
        $co = $this->getBlockCollectionObject();
        if (is_object($co)) {
            if ($co->getPageTypeHandle() == STACKS_PAGE_TYPE) {
                return true;
            }
        }

        return false;
    }
public function isBlockInStack ( ) { $ co = $ this -> getBlockCollectionObject ( ) ; if ( is_object ( $ co ) ) { if ( $ co -> getPageTypeHandle ( ) == STACKS_PAGE_TYPE ) { return true ; } } return false ; }
Is this block inside a stack?

@return bool
Is this block inside a stack?