common/models/resources/ModelMeta.php
public static function isExistByNameType( $parentId, $parentType, $name, $type, $config = [] ) {

		$meta = self::queryByNameType( $parentId, $parentType, $name, $type, $config )->one();

		return isset( $meta );
	}
public static function isExistByNameType( $parentId, $parentType, $name, $type, $config = [] ) {

		$meta = self::queryByNameType( $parentId, $parentType, $name, $type, $config )->one();

		return isset( $meta );
	}
public static function isExistByNameType ( $ parentId , $ parentType , $ name , $ type , $ config = [ ] ) { $ meta = self :: queryByNameType ( $ parentId , $ parentType , $ name , $ type , $ config ) -> one ( ) ; return isset ( $ meta ) ; }
Check whether meta exist for parent using given name and type.

@param integer $parentId
@param string $parentType
@param string $name
@param string $type
@param array $config
@return boolean
Check whether meta exist for parent using given name and type .