common/models/traits/base/NameTypeTrait.php
public static function isExistByNameType( $name, $type, $config = [] ) {

		$model	= self::findByNameType( $name, $type, $config );

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

		$model	= self::findByNameType( $name, $type, $config );

		return isset( $model );
	}
public static function isExistByNameType ( $ name , $ type , $ config = [ ] ) { $ model = self :: findByNameType ( $ name , $ type , $ config ) ; return isset ( $ model ) ; }
Check whether model exist for given name and type.

@param string $name
@param string $type
@param array $config
@return boolean
Check whether model exist for given name and type .