Is there anyway to check if current instance is the Master DB?