class_docstr: Execute using SGE (OGE not tested)
  
  The plugin_args input to run can be used to control the SGE execution.
  Currently supported options are:
  
  - template : template to use for batch job submission
  - qsub_args : arguments to be prepended to the job execution script in the
                qsub call
class_docstr_tok: ["Execute","using","SGE","(","OGE","not","tested",")","The","plugin_args","input","to","run","can","be","used","to","control","the","SGE","execution",".","Currently","supported","options","are",":","-","template",":","template","to","use","for","batch","job","submission","-","qsub_args",":","arguments","to","be","prepended","to","the","job","execution","script","in","the","qsub","call"]
code: def _is_pending(self, taskid):
      return self._refQstatSubstitute.is_job_pending(int(taskid))
  
imports: import os
  import pwd
  import re
  import subprocess
  import time
  import xml.dom.minidom
  import random
  from ...None import logging
  from ...interfaces.base import CommandLine
  from .base import SGELikeBatchManagerBase, logger
label_desc: Use image node_id 2 for calling the SGEPlugin obj's underlying member method code with example usage: obj._is_pending(taskid) and returns: self