code: def get_available(self, username, rtype):
      if not self.running:
          rid = super(PassiveResourceManager, self).get_available(
              username, rtype
          )
          if rid:
              return rid
          else:
              logger.fatal(
                  "Resource passive is exhausted.  Free it from the database or create more for testing."
              )
              return None
      else:
          return None
  
file_path: auptimizer/src/aup/EE/Resource/PassiveResourceManager.py
imports: import logging
  import os
  from six.moves import input
  from .AbstractResourceManager import AbstractResourceManager
label_desc: Use image node_id 2 for calling the PassiveResourceManager obj's underlying member method code with example usage: obj.get_available(username, rtype) and returns: None, rid, None