':param UUID node_uuid: Node to check for datasets in use.
:param applications: Applications running on the node.
:param Leases leases: The current leases on datasets.'

def __init__(self, node_uuid, local_applications, leases):

    if (local_applications is None):
        local_applications = []
    self._node_id = node_uuid
    self._in_use_datasets = {app.volume.manifestation.dataset_id for app in local_applications if (app.volume is not None)}
    self._leases = leases
