original_string: public static function isProvider($param)
      {
          $isValid = false;
  
          if(isset($param['providerId']) && !(CheckoutApi_Lib_Validator::isEmpty($param['providerId']))) {
              $isValid = true;
          }
          return $isValid;
      }
code: public static function isProvider($param)
      {
          $isValid = false;
  
          if(isset($param['providerId']) && !(CheckoutApi_Lib_Validator::isEmpty($param['providerId']))) {
              $isValid = true;
          }
          return $isValid;
      }
code_tokens: public static function isProvider ( $ param ) { $ isValid = false ; if ( isset ( $ param [ 'providerId' ] ) && ! ( CheckoutApi_Lib_Validator :: isEmpty ( $ param [ 'providerId' ] ) ) ) { $ isValid = true ; } return $ isValid ; }
docstring: A helper method that check provider id is set in payload.
  @param $param
  @return bool
  Simple usage:
  CheckoutApi_Client_Validation_GW3::isProvider($param)
docstring_tokens: A helper method that check provider id is set in payload .