common/models/resources/Option.php
public static function isExistByNameCategoryId( $name, $categoryId ) {

		$option = self::findByNameCategoryId( $name, $categoryId );

		return isset( $option );
	}
public static function isExistByNameCategoryId( $name, $categoryId ) {

		$option = self::findByNameCategoryId( $name, $categoryId );

		return isset( $option );
	}
public static function isExistByNameCategoryId ( $ name , $ categoryId ) { $ option = self :: findByNameCategoryId ( $ name , $ categoryId ) ; return isset ( $ option ) ; }
Check whether option exist by name and category id.

@return boolean
Check whether option exist by name and category id .