def signature_validate(signature, error = None) :
    "is signature a valid sequence of zero or more complete types."
    error, my_error = _get_error(error)
    result = dbus.dbus_signature_validate(signature.encode(), error._dbobj) != 0
    my_error.raise_if_set()
    return \
        result
def signature_validate ( signature , error = None ) : error , my_error = _get_error ( error ) result = dbus . dbus_signature_validate ( signature . encode ( ) , error . _dbobj ) != 0 my_error . raise_if_set ( ) return result
is signature a valid sequence of zero or more complete types.