original_string: public static function isCardNumberValid($param)
  	{
  		$isValid = false;
  
  		if(isset($param['number'])) {
  
  			$errorIsEmpty = CheckoutApi_Lib_Validator::isEmpty($param['number']) ;
  			
  			if(!$errorIsEmpty) {
  				//$this->logError(true, "Card number can not be empty.", array('card'=>$param),false);
  				$isValid = true;
  			}
  
  		} 
  
  		return $isValid;
  	}
code: public static function isCardNumberValid($param)
  	{
  		$isValid = false;
  
  		if(isset($param['number'])) {
  
  			$errorIsEmpty = CheckoutApi_Lib_Validator::isEmpty($param['number']) ;
  			
  			if(!$errorIsEmpty) {
  				//$this->logError(true, "Card number can not be empty.", array('card'=>$param),false);
  				$isValid = true;
  			}
  
  		} 
  
  		return $isValid;
  	}
code_tokens: public static function isCardNumberValid ( $ param ) { $ isValid = false ; if ( isset ( $ param [ 'number' ] ) ) { $ errorIsEmpty = CheckoutApi_Lib_Validator :: isEmpty ( $ param [ 'number' ] ) ; if ( ! $ errorIsEmpty ) { //$this->logError(true, "Card number can not be empty.", array('card'=>$param),false); $ isValid = true ; } } return $ isValid ; }
docstring: A helper method that check if card number is set in payload.
  @param array $param
  @return bool
  Simple usage:
  CheckoutApi_Client_Validation_GW3::isCardNumberValid($param)
docstring_tokens: A helper method that check if card number is set in payload .