original_string: public static function isNameValid($postedParam)
  	{
  		$isValid = false;
  
  		if(isset($postedParam['name'])) {
  
  			$isNameEmpty = CheckoutApi_Lib_Validator::isEmpty($postedParam['name']);
  			if(!$isNameEmpty) {
  
  				$isValid = true;
  			}
  			
  		} 
  
  		return $isValid ;
  	}
code: public static function isNameValid($postedParam)
  	{
  		$isValid = false;
  
  		if(isset($postedParam['name'])) {
  
  			$isNameEmpty = CheckoutApi_Lib_Validator::isEmpty($postedParam['name']);
  			if(!$isNameEmpty) {
  
  				$isValid = true;
  			}
  			
  		} 
  
  		return $isValid ;
  	}
code_tokens: public static function isNameValid ( $ postedParam ) { $ isValid = false ; if ( isset ( $ postedParam [ 'name' ] ) ) { $ isNameEmpty = CheckoutApi_Lib_Validator :: isEmpty ( $ postedParam [ 'name' ] ) ; if ( ! $ isNameEmpty ) { $ isValid = true ; } } return $ isValid ; }
docstring: A helper method that check if a name is set in the payload
  @param array $postedParam
  @return boolean
  Simple usage:
  CheckoutApi_Client_Validation_GW3::isNameValid($postedParam);
docstring_tokens: A helper method that check if a name is set in the payload