'Check if the datastore is accessible to the given host.
:param datastore: datastore reference
:return: True if the datastore is accessible'

def is_datastore_accessible(self, datastore, host):

    hosts = self.get_connected_hosts(datastore)
    return (host.value in hosts)
