public static function _exists ($params, &$db = FALSE)
	{
	
		if (!is_array ($params))
		{
			$params	= array (
				'where'	=> array (
					array (static::$pk, $params)
				)
			);
		}
		
		return self::_count ($params, $db) > 0;
		
	}
public static function _exists ($params, &$db = FALSE)
	{
	
		if (!is_array ($params))
		{
			$params	= array (
				'where'	=> array (
					array (static::$pk, $params)
				)
			);
		}
		
		return self::_count ($params, $db) > 0;
		
	}
public static function _exists ( $ params , & $ db = FALSE ) { if ( ! is_array ( $ params ) ) { $ params = array ( 'where' => array ( array ( static :: $ pk , $ params ) ) ) ; } return self :: _count ( $ params , $ db ) > 0 ; }
Check to see whether the object matching the parameters exists
@param array $params Parameter array
@param \PDO $db Database connection to use
@return boolean
Check to see whether the object matching the parameters exists