hasBlockDefinition() public method

Checks if block definition contains a block having $blockIdentifier as identifier.
public hasBlockDefinition ( string $blockIdentifier ) : boolean
$blockIdentifier string
return boolean
 /**
  * @dataProvider hasBlockDefinitionProvider
  * @covers eZ\Publish\Core\FieldType\Page\PageService::hasBlockDefinition
  *
  * @param string $blockIdentifier
  * @param bool $expectedResult
  */
 public function testHasBlockDefinition($blockIdentifier, $expectedResult)
 {
     $this->assertSame($expectedResult, $this->pageService->hasBlockDefinition($blockIdentifier));
 }