'Validate the contents of the specified configuration.
:source: is the name of the configuration datastore being validated or `config`
element containing the configuration subtree to be validated'

@ensure_connected
def validate(self, *args, **kwargs):

    return self.m.validate(*args, **kwargs).data_xml
