original_string: public static function isValueValid($postedParam)
  	{
  		$isValid = false;
  
  		if(isset($postedParam['value'])) {
  
  			$amount = $postedParam['value'];
  
  			$isAmountEmpty = CheckoutApi_Lib_Validator::isEmpty($amount);
  
  			
  			if(!$isAmountEmpty  ) {
  				$isValid = true;
  
  			} 
  	
  		} 
  
  		return $isValid;
  	}
code: public static function isValueValid($postedParam)
  	{
  		$isValid = false;
  
  		if(isset($postedParam['value'])) {
  
  			$amount = $postedParam['value'];
  
  			$isAmountEmpty = CheckoutApi_Lib_Validator::isEmpty($amount);
  
  			
  			if(!$isAmountEmpty  ) {
  				$isValid = true;
  
  			} 
  	
  		} 
  
  		return $isValid;
  	}
code_tokens: public static function isValueValid ( $ postedParam ) { $ isValid = false ; if ( isset ( $ postedParam [ 'value' ] ) ) { $ amount = $ postedParam [ 'value' ] ; $ isAmountEmpty = CheckoutApi_Lib_Validator :: isEmpty ( $ amount ) ; if ( ! $ isAmountEmpty ) { $ isValid = true ; } } return $ isValid ; }
docstring: A helper method that is use to valid if amount is correct in a payload.
  @param array $postedParam
  @return boolean
  CheckoutApi_ check if amount is valid.
  Simple usage:
  CheckoutApi_Client_Validation_GW3::isValueValid($postedParam)
docstring_tokens: A helper method that is use to valid if amount is correct in a payload .