docs: def get_jobs(self, name=None):
          """Retrieves jobs running on this resource in its instance.
  
          Args:
              name (str, optional): Only return jobs containing property **name** that matches `name`. `name` can be a
                  regular expression. If `name` is not supplied, then all jobs are returned.
  
          Returns:
              list(Job): A list of jobs matching the given `name`.
          
          .. note:: If ``applicationResource`` is `False` an empty list is returned.
          .. versionadded:: 1.9
          """
          if self.applicationResource:
              return self._get_elements(self.jobs, 'jobs', Job, None, name)
          else:
              return []