original_string: protected function isAsyncTaskPayload($payload): bool
      {
          $data = json_decode($payload, true);
  
          if (JSON_ERROR_NONE !== json_last_error()) {
              return false;
          }
  
          return isset($data['job']);
      }
code: protected function isAsyncTaskPayload($payload): bool
      {
          $data = json_decode($payload, true);
  
          if (JSON_ERROR_NONE !== json_last_error()) {
              return false;
          }
  
          return isset($data['job']);
      }
code_tokens: protected function isAsyncTaskPayload ( $ payload ) : bool { $ data = json_decode ( $ payload , true ) ; if ( JSON_ERROR_NONE !== json_last_error ( ) ) { return false ; } return isset ( $ data [ 'job' ] ) ; }
docstring: Indicates if the payload is async task.
  
  @param mixed $payload
  
  @return boolean
docstring_tokens: Indicates if the payload is async task .