'Return the current context datastore policy function.
Returns:
A function that accepts a Key instance as argument and returns
a bool indicating if it should use the datastore.  May be None.'

def get_datastore_policy(self):

    return self._datastore_policy
