Validates the URL object. The URL object is invalid if it does not represent an absolute URL.
        Returns True or False based on this.

def validate(self):
        """Validates the URL object. The URL object is invalid if it does not represent an absolute URL.
        Returns True or False based on this.
        """
        if (self.scheme is None or self.scheme != '') \
          and (self.host is None or self.host == ''):
            return False
        return True