public function exists($type)
    {
        foreach ($this->loaders as $loader) {
            if ($loader->exists($type)) {
                return true;
            }
        }

        return false;
    }
public function exists($type)
    {
        foreach ($this->loaders as $loader) {
            if ($loader->exists($type)) {
                return true;
            }
        }

        return false;
    }
public function exists ( $ type ) { foreach ( $ this -> loaders as $ loader ) { if ( $ loader -> exists ( $ type ) ) { return true ; } } return false ; }
Check if a given block type exists.

@param string $type Block type to check for

@return bool
Check if a given block type exists .