code: def isqref(object):
      
      return (
          isinstance(object, tuple) and
          len(object) == 2 and
          isinstance(object[0], basestring) and
          isinstance(object[1], basestring))
docs: Get whether the object is a I{qualified reference}.
      @param object: An object to be tested.
      @type object: I{any}
      @rtype: boolean
      @see: L{qualify}