'Method to retrieve a cached instance by pk value. Returns None
when not found (which will always be the case when caching is
disabled for this class). Please note that the lookup will be
done even when instance caching is disabled.'

@classmethod
def get_cached_instance(cls, id):

    return cls.__dbclass__.__instance_cache__.get(id)
