How can I check if an object has a rigidbody?

I tried If (other.rigidbody != Null) is that the correct way? It didn’t work for me

It’s “null”, not “Null”.

–Eric