Check for pdo object in db abstraction layer.