common/models/resources/ModelMessage.php
public static function isExistByNameTypeLocaleId( $parentId, $parentType, $name, $type, $localeId ) {

		$message = self::findByNameLocaleId( $parentId, $parentType, $name, $type, $localeId );

		return isset( $message );
	}
public static function isExistByNameTypeLocaleId( $parentId, $parentType, $name, $type, $localeId ) {

		$message = self::findByNameLocaleId( $parentId, $parentType, $name, $type, $localeId );

		return isset( $message );
	}
public static function isExistByNameTypeLocaleId ( $ parentId , $ parentType , $ name , $ type , $ localeId ) { $ message = self :: findByNameLocaleId ( $ parentId , $ parentType , $ name , $ type , $ localeId ) ; return isset ( $ message ) ; }
Check whether the message exists for given name, type and locale id.

@param integer $parentId
@param string $parentType
@param string $name
@param int $localeId
@return boolean
Check whether the message exists for given name type and locale id .