check if db exists for specific object before start planning with openrave