Checking if the mouse button is down

I’ve been wondering about this for some time, is there a way to check if the mouse button is down similar to the isDown function in the Key object?

if(Key.isDown(Key.SPACE))

Is there a similar way to this one, or any at all, to check if the mouse is down?