original_string: public static function isLocalPyamentHashValid($postedParam)
  	{
  		$isValid = false;
  
  		if(isset($postedParam['localPayment']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']))) {
  			if(isset($postedParam['localPayment']['lppId']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']['lppId']))) {
  				$isValid = true;
  			}
  		}
  
  		return $isValid;
  	}
code: public static function isLocalPyamentHashValid($postedParam)
  	{
  		$isValid = false;
  
  		if(isset($postedParam['localPayment']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']))) {
  			if(isset($postedParam['localPayment']['lppId']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']['lppId']))) {
  				$isValid = true;
  			}
  		}
  
  		return $isValid;
  	}
code_tokens: public static function isLocalPyamentHashValid ( $ postedParam ) { $ isValid = false ; if ( isset ( $ postedParam [ 'localPayment' ] ) && ! ( CheckoutApi_Lib_Validator :: isEmpty ( $ postedParam [ 'localPayment' ] ) ) ) { if ( isset ( $ postedParam [ 'localPayment' ] [ 'lppId' ] ) && ! ( CheckoutApi_Lib_Validator :: isEmpty ( $ postedParam [ 'localPayment' ] [ 'lppId' ] ) ) ) { $ isValid = true ; } } return $ isValid ; }
docstring: A helper method that check if localpayment object is valid in payload. It check if lppId is set
  @param array $postedParam
  @return boolean
  Simple usage:
  CheckoutApi_Client_Validation_GW3::isLocalPyamentHashValid($postedParam)
docstring_tokens: A helper method that check if localpayment object is valid in payload . It check if lppId is set