How can pericardial effusion be definitively diagnosed?

How can pericardial effusion be definitively diagnosed?

Echocardiography (highly sensitive for detecting pericardial fluid) or CT (also quite sensitive)